diff options
author | obache <obache@pkgsrc.org> | 2009-08-29 10:42:55 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2009-08-29 10:42:55 +0000 |
commit | a43f31311b59867c0d112669fb10f384718c65ff (patch) | |
tree | e45b0e453e9f257b649ffd74cdebed3d402a05f1 /security | |
parent | 15458d9ed02be44aacaf4dde0c30362bf59046e9 (diff) | |
download | pkgsrc-a43f31311b59867c0d112669fb10f384718c65ff.tar.gz |
Add user-destdir support.
Diffstat (limited to 'security')
-rw-r--r-- | security/crypto++/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/security/crypto++/Makefile b/security/crypto++/Makefile index 01faa55dc98..6331edb437e 100644 --- a/security/crypto++/Makefile +++ b/security/crypto++/Makefile @@ -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 @@ HOMEPAGE= http://www.cryptopp.com/ 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 @@ BUILDLINK_TRANSFORM+= rm:-pipe rm:-msse2 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" |