diff options
author | ghen <ghen> | 2008-01-04 14:36:41 +0000 |
---|---|---|
committer | ghen <ghen> | 2008-01-04 14:36:41 +0000 |
commit | 274e91397000572cb0de25fd022185eaf9f3c184 (patch) | |
tree | fd83dbdf9a30ee59dabf33432473998df5303b21 /net/tspc | |
parent | c028089dda4a76f1e4c9f3f0c6e2cfeee3cbb455 (diff) | |
download | pkgsrc-274e91397000572cb0de25fd022185eaf9f3c184.tar.gz |
Full DESTDIR support.
Diffstat (limited to 'net/tspc')
-rw-r--r-- | net/tspc/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/net/tspc/Makefile b/net/tspc/Makefile index 3fa3c56e6e1..38ff89bd229 100644 --- a/net/tspc/Makefile +++ b/net/tspc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/12/01 13:00:34 rillig Exp $ +# $NetBSD: Makefile,v 1.16 2008/01/04 14:40:15 ghen Exp $ DISTNAME= tspc-2.1.1-src PKGNAME= ${DISTNAME:S/-src//} @@ -11,6 +11,8 @@ MAINTAINER= ghen@NetBSD.org COMMENT= Tunnel Setup Protocol Client for Freenet6 HOMEPAGE= http://www.hexago.com/ +PKG_DESTDIR_SUPPORT= user-destdir + ONLY_FOR_PLATFORM= NetBSD-*-* ONLY_FOR_PLATFORM+= OpenBSD-*-* ONLY_FOR_PLATFORM+= FreeBSD-*-* @@ -41,13 +43,13 @@ RCD_SCRIPTS= tspc PLIST_SUBST+= TARGET=${TARGET:Q} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/tspc ${PREFIX}/sbin/ - ${INSTALL_MAN} ${WRKSRC}/man/man5/tspc.conf.5 ${PREFIX}/${PKGMANDIR}/man5/ - ${INSTALL_MAN} ${WRKSRC}/man/man8/tspc.8 ${PREFIX}/${PKGMANDIR}/man8/ - ${INSTALL_DATA} ${WRKSRC}/bin/tspc.conf.sample ${PREFIX}/share/examples/tspc/tspc.conf - ${INSTALL_SCRIPT} ${WRKSRC}/template/${TARGET}.sh ${PREFIX}/share/tspc/template/ - ${INSTALL_SCRIPT} ${WRKSRC}/template/checktunnel.sh ${PREFIX}/share/tspc/template/ - ${INSTALL_DATA} ${WRKSRC}/template/README ${PREFIX}/share/tspc/template/ - ${INSTALL_DATA} ${WRKSRC}/template/variables_environ ${PREFIX}/share/tspc/template/ + ${INSTALL_PROGRAM} ${WRKSRC}/bin/tspc ${DESTDIR}${PREFIX}/sbin/ + ${INSTALL_MAN} ${WRKSRC}/man/man5/tspc.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/ + ${INSTALL_MAN} ${WRKSRC}/man/man8/tspc.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ + ${INSTALL_DATA} ${WRKSRC}/bin/tspc.conf.sample ${DESTDIR}${PREFIX}/share/examples/tspc/tspc.conf + ${INSTALL_SCRIPT} ${WRKSRC}/template/${TARGET}.sh ${DESTDIR}${PREFIX}/share/tspc/template/ + ${INSTALL_SCRIPT} ${WRKSRC}/template/checktunnel.sh ${DESTDIR}${PREFIX}/share/tspc/template/ + ${INSTALL_DATA} ${WRKSRC}/template/README ${DESTDIR}${PREFIX}/share/tspc/template/ + ${INSTALL_DATA} ${WRKSRC}/template/variables_environ ${DESTDIR}${PREFIX}/share/tspc/template/ .include "../../mk/bsd.pkg.mk" |