summaryrefslogtreecommitdiff
path: root/security/cy2-crammd5
diff options
context:
space:
mode:
authorobache <obache>2008-08-12 10:16:54 +0000
committerobache <obache>2008-08-12 10:16:54 +0000
commit65570929fa4ff90079baf77e202a4e35f9e726b2 (patch)
tree2012a6e069c900f4952d1737e88ec80ef0e3c065 /security/cy2-crammd5
parent00b433177895c39c96ada15f2928901d98667e71 (diff)
downloadpkgsrc-65570929fa4ff90079baf77e202a4e35f9e726b2.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/cy2-crammd5')
-rw-r--r--security/cy2-crammd5/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/cy2-crammd5/Makefile b/security/cy2-crammd5/Makefile
index 958859fb85f..cb97603d69b 100644
--- a/security/cy2-crammd5/Makefile
+++ b/security/cy2-crammd5/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.6 2006/04/18 17:42:12 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2008/08/12 10:16:54 obache Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-crammd5/}
COMMENT= Cyrus SASL CRAM-MD5 authentication plugin
SASL_PLUGIN= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= cyrus-sasl<=2.1.19nb1
.include "../../security/cyrus-sasl/Makefile.common"
@@ -14,8 +16,8 @@ BUILD_DIRS= ${WRKSRC}/plugins
BUILD_TARGET= libcrammd5.la
do-install:
- ${INSTALL_DATA_DIR} ${PLUGINDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
- ${INSTALL_PROGRAM} libcrammd5.la ${PLUGINDIR}
+ ${INSTALL_PROGRAM} libcrammd5.la ${DESTDIR}${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"