diff options
author | spz <spz@pkgsrc.org> | 2008-01-04 20:23:45 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2008-01-04 20:23:45 +0000 |
commit | 8b618a20a197faa7d96921d06199cc9d808c3927 (patch) | |
tree | 1bf5e26f33f206431fb0afbef809dbe5143f6ebf /net | |
parent | eadb99d82f36060de716415b2d75ecca58baf6ca (diff) | |
download | pkgsrc-8b618a20a197faa7d96921d06199cc9d808c3927.tar.gz |
USE_DESTDIRify the package.
patch-dm is not for upstream but for pkgsrc infrastructure only.
Diffstat (limited to 'net')
-rw-r--r-- | net/irrtoolset-nox11/Makefile | 8 | ||||
-rw-r--r-- | net/irrtoolset-nox11/distinfo | 3 | ||||
-rw-r--r-- | net/irrtoolset-nox11/patches/patch-dm | 20 |
3 files changed, 27 insertions, 4 deletions
diff --git a/net/irrtoolset-nox11/Makefile b/net/irrtoolset-nox11/Makefile index 4b76454e0a7..a93f978c5fc 100644 --- a/net/irrtoolset-nox11/Makefile +++ b/net/irrtoolset-nox11/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2007/12/31 09:15:14 spz Exp $ +# $NetBSD: Makefile,v 1.14 2008/01/04 20:23:45 spz Exp $ # DISTNAME= IRRToolSet-4.8.5 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= net MASTER_SITES= ftp://ftp.isc.org/isc/IRRToolSet/IRRToolSet-4.8.5/ @@ -13,7 +13,7 @@ COMMENT= The Internet Routing Registry Toolset - client to IRRd USE_LANGUAGES= c c++ USE_TOOLS+= bison flex gmake perl -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man3 +INSTALLATION_DIRS= ${PKGBINDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man3 LICENSE= no-commercial-use @@ -27,4 +27,6 @@ CONFIG_GUESS_OVERRIDE= config.guess src/Core/.aux/config.guess \ CONFIG_SUB_OVERRIDE= config.sub src/Core/.aux/config.sub \ src/rpsl/config.sub +PKG_DESTDIR_SUPPORT=user-destdir + .include "../../mk/bsd.pkg.mk" diff --git a/net/irrtoolset-nox11/distinfo b/net/irrtoolset-nox11/distinfo index d08ff8e31d7..01014fb5d11 100644 --- a/net/irrtoolset-nox11/distinfo +++ b/net/irrtoolset-nox11/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2007/12/31 09:15:14 spz Exp $ +$NetBSD: distinfo,v 1.13 2008/01/04 20:23:45 spz Exp $ SHA1 (IRRToolSet-4.8.5.tar.gz) = 0a22daef3c5c04b5bce929e420233885c44662ec RMD160 (IRRToolSet-4.8.5.tar.gz) = 3f6a291a1c33c2725325ebc51ab8306e7a1e743b @@ -50,3 +50,4 @@ SHA1 (patch-di) = ab0fa75329575141844ff55698a21060c2b62e43 SHA1 (patch-dj) = d4a06b1672f481a889756c15feb2155dd6d5d123 SHA1 (patch-dk) = a1632fa3030ee483c99af5ef039e494295af0b7f SHA1 (patch-dl) = 85ab29170a0ce1f82f3058bd58b00c779684fbca +SHA1 (patch-dm) = 7d65970aea11d00dd1867aa07c3ee970d26b3b73 diff --git a/net/irrtoolset-nox11/patches/patch-dm b/net/irrtoolset-nox11/patches/patch-dm new file mode 100644 index 00000000000..a94d196e114 --- /dev/null +++ b/net/irrtoolset-nox11/patches/patch-dm @@ -0,0 +1,20 @@ +$NetBSD: patch-dm,v 1.1 2008/01/04 20:23:45 spz Exp $ + +--- src/Makefile.in.orig 2006-06-08 17:16:26.000000000 +0200 ++++ src/Makefile.in +@@ -81,11 +81,11 @@ depend: + + install: + @for i in $(prefix) $(bindir) $(mandir) $(man1dir) $(man3dir) ; do \ +- test -d $$i || mkdir -p $$i; \ ++ test -d ${DESTDIR}$$i || mkdir -p ${DESTDIR}$$i; \ + done +- for i in $(TOOLDIRS); do $(INSTALL_PROGRAM) $$i/$$i $(bindir); done +- for i in ../man/man1/*; do $(INSTALL_DATA) $$i $(man1dir); done +- for i in ../man/man3/*; do $(INSTALL_DATA) $$i $(man3dir); done ++ for i in $(TOOLDIRS); do $(INSTALL_PROGRAM) $$i/$$i ${DESTDIR}$(bindir); done ++ for i in ../man/man1/*; do $(INSTALL_DATA) $$i ${DESTDIR}$(man1dir); done ++ for i in ../man/man3/*; do $(INSTALL_DATA) $$i ${DESTDIR}$(man3dir); done + + tags: + @find `pwd` -name \*.hh -or -name \*.cc -or -name \*.c -or -name \*.h -or -name \*.y -or -name \*.l | xargs etags -t |