summaryrefslogtreecommitdiff
path: root/security/cy2-login
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-login
parent00b433177895c39c96ada15f2928901d98667e71 (diff)
downloadpkgsrc-65570929fa4ff90079baf77e202a4e35f9e726b2.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/cy2-login')
-rw-r--r--security/cy2-login/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/cy2-login/Makefile b/security/cy2-login/Makefile
index e6ba1eb3137..7ea0c10367c 100644
--- a/security/cy2-login/Makefile
+++ b/security/cy2-login/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.13 2006/04/18 17:42:12 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2008/08/12 10:16:54 obache Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-login/}
COMMENT= Cyrus SASL LOGIN authentication plugin
SASL_PLUGIN= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../security/cyrus-sasl/Makefile.common"
# We need to configure the PLAIN plugin as well since some of the important
@@ -16,8 +18,8 @@ BUILD_DIRS= ${WRKSRC}/plugins
BUILD_TARGET= liblogin.la
do-install:
- ${INSTALL_DATA_DIR} ${PLUGINDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
- ${INSTALL_PROGRAM} liblogin.la ${PLUGINDIR}
+ ${INSTALL_PROGRAM} liblogin.la ${DESTDIR}${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"