pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Full DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22758628617a
branches:  trunk
changeset: 537174:22758628617a
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Fri Jan 04 14:36:41 2008 +0000

description:
Full DESTDIR support.

diffstat:

 audio/cripple/Makefile |   4 +++-
 net/tspc/Makefile      |  20 +++++++++++---------
 2 files changed, 14 insertions(+), 10 deletions(-)

diffs (58 lines):

diff -r 0a085a157293 -r 22758628617a audio/cripple/Makefile
--- a/audio/cripple/Makefile    Fri Jan 04 14:32:49 2008 +0000
+++ b/audio/cripple/Makefile    Fri Jan 04 14:36:41 2008 +0000
@@ -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 @@
 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 -r 0a085a157293 -r 22758628617a net/tspc/Makefile
--- a/net/tspc/Makefile Fri Jan 04 14:32:49 2008 +0000
+++ b/net/tspc/Makefile Fri Jan 04 14:36:41 2008 +0000
@@ -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 @@
 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 @@
 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"



Home | Main Index | Thread Index | Old Index