summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghen <ghen>2008-01-04 14:36:41 +0000
committerghen <ghen>2008-01-04 14:36:41 +0000
commit274e91397000572cb0de25fd022185eaf9f3c184 (patch)
treefd83dbdf9a30ee59dabf33432473998df5303b21
parentc028089dda4a76f1e4c9f3f0c6e2cfeee3cbb455 (diff)
downloadpkgsrc-274e91397000572cb0de25fd022185eaf9f3c184.tar.gz
Full DESTDIR support.
-rw-r--r--audio/cripple/Makefile4
-rw-r--r--net/tspc/Makefile20
2 files changed, 14 insertions, 10 deletions
diff --git a/audio/cripple/Makefile b/audio/cripple/Makefile
index 946f099374a..5d2297534b2 100644
--- a/audio/cripple/Makefile
+++ b/audio/cripple/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/12/28 15:52:01 ghen Exp $
+# $NetBSD: Makefile,v 1.2 2008/01/04 14:36:41 ghen Exp $
DISTNAME= cripple-0.06b
CATEGORIES= audio
@@ -9,6 +9,8 @@ MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://www.vortex.prodigynet.co.uk/cripple/
COMMENT= Command line CD ripper/encoder wrapper with cddb support
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
BUILD_TARGET= cripple
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"