diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | d8368bbc25c90072a19b5e48f0fba26251b6877f (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /editors/beaver | |
parent | f1b924fda77b6920565e56f54c9391b4dc68f8ca (diff) | |
download | pkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'editors/beaver')
-rw-r--r-- | editors/beaver/Makefile | 6 | ||||
-rw-r--r-- | editors/beaver/distinfo | 4 | ||||
-rw-r--r-- | editors/beaver/patches/patch-aa | 15 |
3 files changed, 14 insertions, 11 deletions
diff --git a/editors/beaver/Makefile b/editors/beaver/Makefile index 13bfd73ef7e..4460262391e 100644 --- a/editors/beaver/Makefile +++ b/editors/beaver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/02/05 23:08:55 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:17 joerg Exp $ # DISTNAME= beaver-0.2.6 @@ -10,8 +10,12 @@ MAINTAINER= vincent.derrien@ahoup.net HOMEPAGE= http://www.nongnu.org/beaver/ COMMENT= Lightweight GTK+ text editor with syntax highlighting +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME}/src USE_DIRS+= xdg-1.1 +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/pixmaps + .include "../../x11/gtk/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/editors/beaver/distinfo b/editors/beaver/distinfo index d9afbe194ef..235796c3369 100644 --- a/editors/beaver/distinfo +++ b/editors/beaver/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 17:15:10 agc Exp $ +$NetBSD: distinfo,v 1.3 2008/06/20 01:09:17 joerg Exp $ SHA1 (beaver-0.2.6.tar.gz) = 608231b84871d26133eb8c20b3ce0ec6b754434c RMD160 (beaver-0.2.6.tar.gz) = 1db93234f9b47c10667b16f26a8d1d61f6c8d8f0 Size (beaver-0.2.6.tar.gz) = 133938 bytes -SHA1 (patch-aa) = 8c83e5a7be01d71e1a3501840c657210b6ff8423 +SHA1 (patch-aa) = ffe1817995d7e14e7137b59f5ea520a52cc5a77e diff --git a/editors/beaver/patches/patch-aa b/editors/beaver/patches/patch-aa index d1f364344cb..f4cd65721f8 100644 --- a/editors/beaver/patches/patch-aa +++ b/editors/beaver/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 2003/04/19 08:36:39 salo Exp $ +$NetBSD: patch-aa,v 1.2 2008/06/20 01:09:17 joerg Exp $ --- Makefile.orig 2002-07-18 15:20:32.000000000 +0200 +++ Makefile 2003-04-19 10:14:12.000000000 +0200 -@@ -7,11 +7,11 @@ +@@ -7,11 +7,10 @@ ############## Public section. Modify according to your needs. ############### @@ -14,7 +14,6 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/04/19 08:36:39 salo Exp $ +#CP = cp -DESTDIR = /usr/local -+DESTDIR = ${PREFIX} IPATH = LPATH = OPTI = -O3 -funroll-loops -fomit-frame-pointer #-mcpu=i686 @@ -75,11 +74,11 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/04/19 08:36:39 salo Exp $ - @echo ",----------------------------------." - @echo "| Beaver succesfully installed ^_^ |" - @echo "\`----------------------------------'" -+ ${BSD_INSTALL_PROGRAM} beaver $(DESTDIR)/bin -+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)/share/beaver/bl -+ ${BSD_INSTALL_DATA} ../bl/* $(DESTDIR)/share/beaver/bl -+ ${BSD_INSTALL_DATA} ../pixmaps/beaver.png $(DESTDIR)/share/pixmaps -+ ${BSD_INSTALL_MAN} ../beaver.1x $(DESTDIR)/man/man1/beaver.1 ++ ${BSD_INSTALL_PROGRAM} beaver $(DESTDIR)${PREFIX}/bin ++ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)${PREFIX}/share/beaver/bl ++ ${BSD_INSTALL_DATA} ../bl/* $(DESTDIR)${PREFIX}/share/beaver/bl ++ ${BSD_INSTALL_DATA} ../pixmaps/beaver.png $(DESTDIR)${PREFIX}/share/pixmaps ++ ${BSD_INSTALL_MAN} ../beaver.1x $(DESTDIR)${PREFIX}/man/man1/beaver.1 .PHONY: clean re |