diff options
author | joerg <joerg> | 2010-02-11 20:50:59 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 20:50:59 +0000 |
commit | 25c9c71bc90ab3e3bf6dae1487b6169662407789 (patch) | |
tree | 2043fbbbd079856002aabbb8346a5790c918af81 /net | |
parent | dec3d2b9e937990923e8dc7954822a2f682844c5 (diff) | |
download | pkgsrc-25c9c71bc90ab3e3bf6dae1487b6169662407789.tar.gz |
DESTDIR support
Diffstat (limited to 'net')
-rw-r--r-- | net/dynipclient/Makefile | 15 | ||||
-rw-r--r-- | net/edonkey2k/Makefile | 6 | ||||
-rw-r--r-- | net/entropy/Makefile | 27 | ||||
-rw-r--r-- | net/fair-identd/Makefile | 6 | ||||
-rw-r--r-- | net/fpdns/Makefile | 8 | ||||
-rw-r--r-- | net/freenet-tools/Makefile | 8 | ||||
-rw-r--r-- | net/ftpproxy/Makefile | 8 |
7 files changed, 44 insertions, 34 deletions
diff --git a/net/dynipclient/Makefile b/net/dynipclient/Makefile index c34e984917b..2b03481d49f 100644 --- a/net/dynipclient/Makefile +++ b/net/dynipclient/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/01/07 09:14:02 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2010/02/11 20:50:59 joerg Exp $ # DISTNAME= dynip_3.00 @@ -12,22 +12,23 @@ HOMEPAGE= http://www.dynip.com/ COMMENT= Client for the dynip.com dynamic DNS service +PKG_DESTDIR_SUPPORT= user-destdir + RCD_SCRIPTS= dynipclient EGDIR= ${PREFIX}/share/examples/dynipclient CONF_FILES= ${EGDIR}/dynip.cfg ${PKG_SYSCONFDIR}/dynip.cfg -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR} do-build: cd ${WRKSRC} && ./Configure freebsd ${PREFIX}/bin ${PKG_SYSCONFDIR} \ ${PREFIX}/man do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dynipadmin ${PREFIX}/bin/ - ${INSTALL_PROGRAM} ${WRKSRC}/dynipclient ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/*.1 ${PREFIX}/${PKGMANDIR}/man1/ - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/dynip.cfg ${EGDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/dynipadmin ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/dynipclient ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ + ${INSTALL_DATA} ${WRKSRC}/dynip.cfg ${DESTDIR}${EGDIR} .include "../../mk/bsd.pkg.mk" diff --git a/net/edonkey2k/Makefile b/net/edonkey2k/Makefile index 2444560cbd6..fb283a160b3 100644 --- a/net/edonkey2k/Makefile +++ b/net/edonkey2k/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2009/10/18 20:28:52 zafer Exp $ +# $NetBSD: Makefile,v 1.18 2010/02/11 20:52:00 joerg Exp $ # DISTNAME= donkey @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.edonkey2000.com/ COMMENT= Yet another P2P file sharing tool +PKG_DESTDIR_SUPPORT= user-destdir + EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= base compat @@ -21,6 +23,6 @@ BUILD_DIRS= # empty INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/net/entropy/Makefile b/net/entropy/Makefile index eeea23d9d1e..5d24d7369a8 100644 --- a/net/entropy/Makefile +++ b/net/entropy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2007/03/19 16:40:28 tv Exp $ +# $NetBSD: Makefile,v 1.27 2010/02/11 20:53:53 joerg Exp $ # DISTNAME= entropy_rsa-${ENTROPY_VERSION} @@ -13,6 +13,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://entropy.stop1984.com/ COMMENT= Anonymous peer-to-peer networking node (similar to Freenet) +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_TOOLS+= autoconf gmake @@ -21,24 +23,21 @@ ENTROPY_VERSION= 0.9.1-439 CONFIGURE_ARGS+= --enable-setproctitle --enable-verbose --disable-posix-sem LIBS+= -L${BUILDLINK_PREFIX.zlib}/lib -lz -L${BUILDLINK_PREFIX.expat}/lib -lexpat -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin share/doc/entropy share/examples/entropy/de \ + share/examples/entropy/node post-patch: ${SED} -e '/^# /!s/^#//' <${WRKSRC}/seed.txt-dist >${WRKSRC}/seed.txt do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/entropy_rsa ${PREFIX}/bin/entropy - ${INSTALL_PROGRAM} ${WRKSRC}/monoopt ${PREFIX}/bin/entropy-monoopt - ${INSTALL_PROGRAM} ${WRKSRC}/storechg ${PREFIX}/bin/entropy-storechg - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/entropy - ${INSTALL_DATA} ${WRKSRC}/[ERT]* ${PREFIX}/share/doc/entropy/ - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/entropy - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/entropy/de - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/entropy/node - ${INSTALL_DATA} ${WRKSRC}/entropy_rsa.conf-dist ${PREFIX}/share/examples/entropy/entropy.conf - ${INSTALL_DATA} ${WRKSRC}/seed.txt ${PREFIX}/share/examples/entropy/ - ${INSTALL_DATA} ${WRKSRC}/de/entropy_rsa.lo ${PREFIX}/share/examples/entropy/de/entropy.lo - ${INSTALL_DATA} ${WRKSRC}/node/[0-9a-z]* ${PREFIX}/share/examples/entropy/node/ + ${INSTALL_PROGRAM} ${WRKSRC}/entropy_rsa ${DESTDIR}${PREFIX}/bin/entropy + ${INSTALL_PROGRAM} ${WRKSRC}/monoopt ${DESTDIR}${PREFIX}/bin/entropy-monoopt + ${INSTALL_PROGRAM} ${WRKSRC}/storechg ${DESTDIR}${PREFIX}/bin/entropy-storechg + ${INSTALL_DATA} ${WRKSRC}/[ERT]* ${DESTDIR}${PREFIX}/share/doc/entropy/ + ${INSTALL_DATA} ${WRKSRC}/entropy_rsa.conf-dist ${DESTDIR}${PREFIX}/share/examples/entropy/entropy.conf + ${INSTALL_DATA} ${WRKSRC}/seed.txt ${DESTDIR}${PREFIX}/share/examples/entropy/ + ${INSTALL_DATA} ${WRKSRC}/de/entropy_rsa.lo ${DESTDIR}${PREFIX}/share/examples/entropy/de/entropy.lo + ${INSTALL_DATA} ${WRKSRC}/node/[0-9a-z]* ${DESTDIR}${PREFIX}/share/examples/entropy/node/ .include "../../mk/bsd.prefs.mk" diff --git a/net/fair-identd/Makefile b/net/fair-identd/Makefile index 78230beebae..65a14b66d1a 100644 --- a/net/fair-identd/Makefile +++ b/net/fair-identd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2005/06/17 03:50:25 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2010/02/11 20:53:21 joerg Exp $ # DISTNAME= identd @@ -11,6 +11,8 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://www.clock.org/~fair/opinion/identd.html COMMENT= Fast RFC-1413 identd running under inetd that returns no useful info +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= libexec do-extract: @@ -22,6 +24,6 @@ do-build: ${CC} ${CFLAGS} -o ${DISTNAME} ${DISTNAME}${EXTRACT_SUFX} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/libexec + ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${DESTDIR}${PREFIX}/libexec .include "../../mk/bsd.pkg.mk" diff --git a/net/fpdns/Makefile b/net/fpdns/Makefile index 1406bd0fcf2..d575f797508 100644 --- a/net/fpdns/Makefile +++ b/net/fpdns/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/09/08 12:03:07 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2010/02/11 20:53:48 joerg Exp $ # DISTNAME= fpdns-0.9.1 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.rfc.se/fpdns/ COMMENT= Fingerprinting DNS servers +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS WRKSRC= ${WRKDIR} @@ -21,7 +23,7 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-build: do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/fpdns.pl ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/fpdns.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/fpdns.pl ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/fpdns.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" diff --git a/net/freenet-tools/Makefile b/net/freenet-tools/Makefile index 8b9e49a314f..ed726f6067f 100644 --- a/net/freenet-tools/Makefile +++ b/net/freenet-tools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/03/19 16:40:28 tv Exp $ +# $NetBSD: Makefile,v 1.13 2010/02/11 20:54:51 joerg Exp $ # DISTNAME= ft-0.2.25 @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://entropy.stop1984.com/ COMMENT= Freenet Tools, freesite manipulation tools for Freenet and Entropy +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake MAKE_FLAGS+= CC=${CC:Q} LD=${CC:Q} CFLAGS=${CFLAGS:M*:Q} LDFLAGS=${LDFLAGS:M*:Q} @@ -20,10 +22,10 @@ CFLAGS+= -DFT_BIN=\"${PREFIX}/bin\" -D_DEBUG INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ft ${PREFIX}/bin/ft + ${INSTALL_PROGRAM} ${WRKSRC}/ft ${DESTDIR}${PREFIX}/bin/ft .for f in fcpbroadcast fcpchk fcpget fcpgetsite fcphello fcpinv fcpkey \ fcpput fcpputsite fcpreceive - ${LN} -s -f ft ${PREFIX}/bin/${f} + ${LN} -s -f ft ${DESTDIR}${PREFIX}/bin/${f} .endfor .include "../../mk/bsd.pkg.mk" diff --git a/net/ftpproxy/Makefile b/net/ftpproxy/Makefile index 85224f3c57f..92e20d4103b 100644 --- a/net/ftpproxy/Makefile +++ b/net/ftpproxy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/01/07 09:14:02 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2010/02/11 21:03:54 joerg Exp $ # DISTNAME= ftpproxy-${VERSION} @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.ftpproxy.org/ COMMENT= Application level gateway for FTP +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_DIRS= src VERSION= 1.2.3 @@ -25,7 +27,7 @@ MAKE_ENV+= OSFLAG=${OSFLAG:Q} OSLIB=${LIBS:M*:Q} VERSION=${VERSION:Q} INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8 do-install: - ${INSTALL_PROGRAM} ${WRKSRC:Q}/src/ftp.proxy ${PREFIX:Q}/libexec/ - ${INSTALL_MAN} ${WRKSRC:Q}/doc/ftp.proxy.1 ${PREFIX:Q}/man/man8/ftp.proxy.8 + ${INSTALL_PROGRAM} ${WRKSRC:Q}/src/ftp.proxy ${DESTDIR}${PREFIX}/libexec/ + ${INSTALL_MAN} ${WRKSRC:Q}/doc/ftp.proxy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ftp.proxy.8 .include "../../mk/bsd.pkg.mk" |