diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/vtun/Makefile | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/vtun/Makefile')
-rw-r--r-- | net/vtun/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/net/vtun/Makefile b/net/vtun/Makefile index ed13bf629c5..3e6c5ce8eb9 100644 --- a/net/vtun/Makefile +++ b/net/vtun/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2008/01/18 05:08:51 tnn Exp $ +# $NetBSD: Makefile,v 1.41 2008/06/20 01:09:32 joerg Exp $ DISTNAME= vtun-2.6 PKGREVISION= 7 @@ -13,6 +13,8 @@ MAINTAINER= cjs@NetBSD.org HOMEPAGE= http://vtun.sourceforge.net/ COMMENT= Virtual Tunnels over TCP/IP networks with traffic shaping +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/vtun GNU_CONFIGURE= YES @@ -33,7 +35,7 @@ CONF_FILES_PERMS= ${EGDIR}/vtund.conf ${PKG_SYSCONFDIR}/vtund.conf \ ${ROOT_USER} ${ROOT_GROUP} 0600 OWN_DIRS= ${LOCKDIR} ${LOGDIR} -INSTALLATION_DIRS= ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin +INSTALLATION_DIRS= ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin ${EGDIR} ${DOCDIR} post-build: @cd ${WRKSRC}; for file in vtund.8; do \ @@ -45,17 +47,15 @@ post-build: > ${WRKDIR}/vtund.conf do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/vtund ${PREFIX}/sbin - ${INSTALL_DATA_DIR} ${DOCDIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README.Crypto ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README.Setup ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README.Shaper ${DOCDIR} - ${INSTALL_DATA} ${WRKDIR}/vtund.conf ${EGDIR}/vtund.conf - ${INSTALL_MAN} ${WRKSRC}/vtund.conf.5 ${PREFIX}/${PKGMANDIR}/man5 - ${INSTALL_MAN} ${WRKSRC}/vtund.8 ${PREFIX}/${PKGMANDIR}/man8 - ${RM} -f ${PREFIX}/${PKGMANDIR}/man8/vtun.8 - ${LN} -s vtund.8 ${PREFIX}/${PKGMANDIR}/man8/vtun.8 + ${INSTALL_PROGRAM} ${WRKSRC}/vtund ${DESTDIR}${PREFIX}/sbin + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README.Crypto ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README.Setup ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README.Shaper ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKDIR}/vtund.conf ${DESTDIR}${EGDIR}/vtund.conf + ${INSTALL_MAN} ${WRKSRC}/vtund.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 + ${INSTALL_MAN} ${WRKSRC}/vtund.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${LN} -s vtund.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/vtun.8 .include "../../archivers/liblzo/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" |