summaryrefslogtreecommitdiff
path: root/security/cy2-anonymous
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-anonymous
parent56c391345d64b9344d765c8a68227a232c30a43f (diff)
downloadpkgsrc-ce6fa3e65e97276dd12266ebcfac9d932c2777ef.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/cy2-anonymous')
-rw-r--r--security/cy2-anonymous/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/cy2-anonymous/Makefile b/security/cy2-anonymous/Makefile
index 3bb8dd3af73..7a1b0dc4c5f 100644
--- a/security/cy2-anonymous/Makefile
+++ b/security/cy2-anonymous/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-anonymous/}
COMMENT= Cyrus SASL ANONYMOUS 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= libanonymous.la
do-install:
- ${INSTALL_DATA_DIR} ${PLUGINDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
- ${INSTALL_PROGRAM} libanonymous.la ${PLUGINDIR}
+ ${INSTALL_PROGRAM} libanonymous.la ${DESTDIR}${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"