pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/vpnc Full DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66753709a536
branches:  trunk
changeset: 537461:66753709a536
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Wed Jan 09 13:13:09 2008 +0000

description:
Full DESTDIR support.

diffstat:

 net/vpnc/Makefile |  24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

diffs (45 lines):

diff -r fdfb26dd6e7c -r 66753709a536 net/vpnc/Makefile
--- a/net/vpnc/Makefile Wed Jan 09 12:57:05 2008 +0000
+++ b/net/vpnc/Makefile Wed Jan 09 13:13:09 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/01/09 12:25:40 hubertf Exp $
+# $NetBSD: Makefile,v 1.21 2008/01/09 13:13:09 ghen Exp $
 #
 
 DISTNAME=              vpnc-0.5.1
@@ -9,6 +9,8 @@
 HOMEPAGE=              http://www.unix-ag.uni-kl.de/~massar/vpnc/
 COMMENT=               Client for Cisco3000 VPN Concentrator
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 NOT_FOR_PLATFORM=      Interix-*-*
 
 USE_TOOLS+=            gmake
@@ -32,16 +34,16 @@
 CONF_FILES_PERMS+=     ${EGDIR}/vpnc-script ${PKG_SYSCONFDIR}/vpnc/vpnc-script ${ROOT_USER} ${ROOT_GROUP} 755
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/vpnc ${PREFIX}/sbin
-       ${INSTALL_PROGRAM} ${WRKSRC}/cisco-decrypt ${PREFIX}/bin
-       ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script ${EGDIR}
-       ${INSTALL_MAN} ${WRKSRC}/vpnc.conf ${EGDIR}
-       ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-disconnect ${PREFIX}/bin
-       ${INSTALL_SCRIPT} ${WRKSRC}/pcf2vpnc ${PREFIX}/bin
-       ${INSTALL_MAN} ${WRKSRC}/vpnc.8 ${PREFIX}/${PKGMANDIR}/man8
-       ${INSTALL_MAN} ${WRKSRC}/pcf2vpnc.1 ${PREFIX}/${PKGMANDIR}/man1
-       ${INSTALL_MAN} ${WRKSRC}/cisco-decrypt.1 ${PREFIX}/${PKGMANDIR}/man1
-       ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/vpnc
+       ${INSTALL_PROGRAM} ${WRKSRC}/vpnc ${DESTDIR}${PREFIX}/sbin
+       ${INSTALL_PROGRAM} ${WRKSRC}/cisco-decrypt ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script ${DESTDIR}${EGDIR}
+       ${INSTALL_MAN} ${WRKSRC}/vpnc.conf ${DESTDIR}${EGDIR}
+       ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-disconnect ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/pcf2vpnc ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/vpnc.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_MAN} ${WRKSRC}/pcf2vpnc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/cisco-decrypt.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/vpnc
 
 .include "../../security/libgcrypt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index