summaryrefslogtreecommitdiff
path: root/security/cyrus-saslauthd
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/cyrus-saslauthd
parent56c391345d64b9344d765c8a68227a232c30a43f (diff)
downloadpkgsrc-ce6fa3e65e97276dd12266ebcfac9d932c2777ef.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/cyrus-saslauthd')
-rw-r--r--security/cyrus-saslauthd/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/cyrus-saslauthd/Makefile b/security/cyrus-saslauthd/Makefile
index c7d1ab04fd3..55f8544a0d3 100644
--- a/security/cyrus-saslauthd/Makefile
+++ b/security/cyrus-saslauthd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2008/01/18 05:09:36 tnn Exp $
+# $NetBSD: Makefile,v 1.37 2008/08/12 10:16:54 obache Exp $
DISTNAME= cyrus-sasl-2.1.22
PKGNAME= ${DISTNAME:S/sasl/saslauthd/}
@@ -10,6 +10,7 @@ MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
CONFLICTS+= cyrus-sasl<2.1.15nb2
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
@@ -53,12 +54,12 @@ post-configure:
post-install:
for f in saslcache testsaslauthd; do \
- ${INSTALL_PROGRAM} ${WRKSRC}/$$f ${PREFIX}/bin/$$f; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/bin/$$f; \
done
.if !empty(PKG_OPTIONS:Mldap)
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cyrus-saslauthd
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cyrus-saslauthd
${INSTALL_DATA} ${WRKSRC}/LDAP_SASLAUTHD \
- ${PREFIX}/share/doc/cyrus-saslauthd
+ ${DESTDIR}${PREFIX}/share/doc/cyrus-saslauthd
.endif
.include "../../mk/bsd.pkg.mk"