summaryrefslogtreecommitdiff
path: root/security/cy2-otp
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-08-12 10:16:54 +0000
committerobache <obache@pkgsrc.org>2008-08-12 10:16:54 +0000
commitce6fa3e65e97276dd12266ebcfac9d932c2777ef (patch)
tree2012a6e069c900f4952d1737e88ec80ef0e3c065 /security/cy2-otp
parent56c391345d64b9344d765c8a68227a232c30a43f (diff)
downloadpkgsrc-ce6fa3e65e97276dd12266ebcfac9d932c2777ef.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/cy2-otp')
-rw-r--r--security/cy2-otp/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/cy2-otp/Makefile b/security/cy2-otp/Makefile
index 2da0feb134c..9e5595911c8 100644
--- a/security/cy2-otp/Makefile
+++ b/security/cy2-otp/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.10 2008/01/18 05:09:36 tnn Exp $
+# $NetBSD: Makefile,v 1.11 2008/08/12 10:16:54 obache Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-otp/}
PKGREVISION= 1
COMMENT= Cyrus SASL OTP authentication plugin
SASL_PLUGIN= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= cyrus-sasl<=2.1.19nb1
.include "../../security/cyrus-sasl/Makefile.common"
@@ -18,8 +20,8 @@ BUILD_TARGET= libotp.la
.include "../../security/openssl/buildlink3.mk"
do-install:
- ${INSTALL_DATA_DIR} ${PLUGINDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
- ${INSTALL_PROGRAM} libotp.la ${PLUGINDIR}
+ ${INSTALL_PROGRAM} libotp.la ${DESTDIR}${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"