diff options
author | ghen <ghen@pkgsrc.org> | 2008-01-04 14:36:41 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2008-01-04 14:36:41 +0000 |
commit | 8f7fb6fb450064ceee224fe91e1701ff7528cc72 (patch) | |
tree | fd83dbdf9a30ee59dabf33432473998df5303b21 /net/tspc | |
parent | 8e08e1d6dba200ebefefa936eb23189998d23947 (diff) | |
download | pkgsrc-8f7fb6fb450064ceee224fe91e1701ff7528cc72.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" |