summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-09 23:53:00 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-09 23:53:00 +0000
commit6bf251943fb669be2d208f6fb7fcd78920282db9 (patch)
tree08da0f4e6d2620b76cc84833b9ad31a91e93307a /security
parentc049324d4f77017239146aa07f5a07fbfb618507 (diff)
downloadpkgsrc-6bf251943fb669be2d208f6fb7fcd78920282db9.tar.gz
DESTDIR support.
Diffstat (limited to 'security')
-rw-r--r--security/libmcrypt/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/libmcrypt/Makefile b/security/libmcrypt/Makefile
index 08e8d9db24c..3f354ec6f84 100644
--- a/security/libmcrypt/Makefile
+++ b/security/libmcrypt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/04/30 19:26:23 adam Exp $
+# $NetBSD: Makefile,v 1.20 2009/02/10 00:08:35 joerg Exp $
DISTNAME= libmcrypt-2.5.8
CATEGORIES= security devel
@@ -9,14 +9,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mcrypt.sourceforge.net/
COMMENT= Crypto algorithms library
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-pre-install:
- mkdir ${PREFIX}/include/mutils
+INSTALLATION_DIRS= include/mutils
post-install:
- rmdir ${PREFIX}/lib/libmcrypt
+ rmdir ${DESTDIR}${PREFIX}/lib/libmcrypt
.include "../../mk/bsd.pkg.mk"