pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/crypto++ Add user-destdir support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1b1cb881ddb
branches:  trunk
changeset: 398317:d1b1cb881ddb
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Aug 29 10:42:55 2009 +0000

description:
Add user-destdir support.

diffstat:

 security/crypto++/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r ebe419049633 -r d1b1cb881ddb security/crypto++/Makefile
--- a/security/crypto++/Makefile        Sat Aug 29 10:34:37 2009 +0000
+++ b/security/crypto++/Makefile        Sat Aug 29 10:42:55 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/08/25 11:57:45 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2009/08/29 10:42:55 obache Exp $
 #
 
 DISTNAME=              cryptopp552
@@ -12,6 +12,7 @@
 COMMENT=               Free C++ class library of Cryptographic Primitives
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_TOOLS+=            gmake
 MAKE_FILE=             GNUmakefile
@@ -23,10 +24,10 @@
 AUTO_MKDIRS=                   yes
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/cryptest.exe ${PREFIX}/bin/cryptest
-       ${INSTALL_DATA} ${WRKSRC}/libcryptopp.a ${PREFIX}/lib
-       ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${PREFIX}/share/doc/cryptopp/README
-       ${INSTALL_DATA} ${WRKSRC}/License.txt ${PREFIX}/share/doc/cryptopp/License
-       cd ${WRKSRC} && ${INSTALL_DATA} *.h ${PREFIX}/include/cryptopp
+       ${INSTALL_PROGRAM} ${WRKSRC}/cryptest.exe ${DESTDIR}${PREFIX}/bin/cryptest
+       ${INSTALL_DATA} ${WRKSRC}/libcryptopp.a ${DESTDIR}${PREFIX}/lib
+       ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DESTDIR}${PREFIX}/share/doc/cryptopp/README
+       ${INSTALL_DATA} ${WRKSRC}/License.txt ${DESTDIR}${PREFIX}/share/doc/cryptopp/License
+       cd ${WRKSRC} && ${INSTALL_DATA} *.h ${DESTDIR}${PREFIX}/include/cryptopp
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index