diff options
author | obache <obache> | 2008-08-12 10:16:54 +0000 |
---|---|---|
committer | obache <obache> | 2008-08-12 10:16:54 +0000 |
commit | 65570929fa4ff90079baf77e202a4e35f9e726b2 (patch) | |
tree | 2012a6e069c900f4952d1737e88ec80ef0e3c065 /security/cy2-login | |
parent | 00b433177895c39c96ada15f2928901d98667e71 (diff) | |
download | pkgsrc-65570929fa4ff90079baf77e202a4e35f9e726b2.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'security/cy2-login')
-rw-r--r-- | security/cy2-login/Makefile | 8 |
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" |