summaryrefslogtreecommitdiff
path: root/security/libbf
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 21:59:21 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 21:59:21 +0000
commit68e4079922d8d27a7db5c95556a49bc03ec5078c (patch)
treea1cb1c8d43106c1dd0d38e7868e97cb0dda73f22 /security/libbf
parent9565bc226ea773578a53915c4b4ed2236ed213dc (diff)
downloadpkgsrc-68e4079922d8d27a7db5c95556a49bc03ec5078c.tar.gz
DESTDIR support
Diffstat (limited to 'security/libbf')
-rw-r--r--security/libbf/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/security/libbf/Makefile b/security/libbf/Makefile
index 8d5a7173fdf..872e088a299 100644
--- a/security/libbf/Makefile
+++ b/security/libbf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2009/05/01 13:51:41 zafer Exp $
+# $NetBSD: Makefile,v 1.14 2010/01/27 21:59:21 joerg Exp $
#
DISTNAME= libbf-0.8.2b
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.schneier.com/blowfish.html
COMMENT= Blowfish block cipher library
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/bf
CRYPTO= YES
@@ -22,16 +24,15 @@ BF_ENC=bf_enc.o
MAKEFLAGS+= BF_ENC=${BF_ENC:Q}
-INSTALLATION_DIRS= bin include lib
+INSTALLATION_DIRS= bin include lib share/doc/blowfish
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/blowfish
cd ${WRKSRC} && \
- ${INSTALL_DATA} libblowfish.a ${PREFIX}/lib && \
- ${INSTALL_DATA} blowfish.h ${PREFIX}/include && \
- ${INSTALL_PROGRAM} bftest bfspeed ${PREFIX}/bin
+ ${INSTALL_DATA} libblowfish.a ${DESTDIR}${PREFIX}/lib && \
+ ${INSTALL_DATA} blowfish.h ${DESTDIR}${PREFIX}/include && \
+ ${INSTALL_PROGRAM} bftest bfspeed ${DESTDIR}${PREFIX}/bin
.for doc in blowfish.doc COPYRIGHT README VERSION
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/blowfish
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DESTDIR}${PREFIX}/share/doc/blowfish
.endfor
.include "../../mk/bsd.pkg.mk"