diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 20:27:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 20:27:45 +0000 |
commit | 3d0aa5df4ed56def65e7ac6da66d2365847819ad (patch) | |
tree | a7f5e79ef22692049e6285d201efe5e5c11b3c31 | |
parent | be711c34f14de0c84689790733a3e301c7909833 (diff) | |
download | pkgsrc-3d0aa5df4ed56def65e7ac6da66d2365847819ad.tar.gz |
DESTDIR support
-rw-r--r-- | net/cia/Makefile | 15 | ||||
-rw-r--r-- | net/cidr/Makefile | 6 |
2 files changed, 14 insertions, 7 deletions
diff --git a/net/cia/Makefile b/net/cia/Makefile index 20ae8050df3..66e1249732f 100644 --- a/net/cia/Makefile +++ b/net/cia/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/05/25 20:49:39 tron Exp $ +# $NetBSD: Makefile,v 1.13 2010/02/11 20:27:45 joerg Exp $ DISTNAME= cia-20030922 CATEGORIES= net @@ -8,15 +8,18 @@ EXTRACT_SUFX= .tar.bz2 OWNER= tron@NetBSD.org COMMENT= Simple IP accounting software +PKG_DESTDIR_SUPPORT= user-destdir + DOC_DIR= ${PREFIX}/share/doc/cia EXAMPLES_DIR= ${PREFIX}/share/examples/cia -MAKE_ENV+= ${BSD_MAKE_ENV} + +USE_BSD_MAKEFILE= yes + +INSTALLATION_DIRS+= bin ${DOC_DIR} ${EXAMPLES_DIR} post-install: - ${INSTALL_DATA_DIR} ${DOC_DIR} - ${INSTALL_DATA} ${WRKSRC}/doc/README ${DOC_DIR} - ${INSTALL_DATA_DIR} ${EXAMPLES_DIR} - ${INSTALL_DATA} ${WRKSRC}/ipstat/examples/*.cfg ${EXAMPLES_DIR} + ${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${DOC_DIR} + ${INSTALL_DATA} ${WRKSRC}/ipstat/examples/*.cfg ${DESTDIR}${EXAMPLES_DIR} .include "../../net/libpcap/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/cidr/Makefile b/net/cidr/Makefile index e8d05455be3..cdf3ed85805 100644 --- a/net/cidr/Makefile +++ b/net/cidr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/10/04 21:53:16 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2010/02/11 20:32:49 joerg Exp $ # DISTNAME= cidr-current @@ -10,9 +10,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= # http://home.netcom.com/~naym/cidr.html COMMENT= RFC 1878 subnet calculator / helper +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/cidr-2.3 LIBS.SunOS+= -lnsl -lsocket MAKE_ENV+= LIBS=${LIBS:M*:Q} +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 + .include "../../mk/bsd.pkg.mk" |