diff options
author | obache <obache@pkgsrc.org> | 2008-08-12 10:16:54 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-08-12 10:16:54 +0000 |
commit | ce6fa3e65e97276dd12266ebcfac9d932c2777ef (patch) | |
tree | 2012a6e069c900f4952d1737e88ec80ef0e3c065 /security/cyrus-sasl | |
parent | 56c391345d64b9344d765c8a68227a232c30a43f (diff) | |
download | pkgsrc-ce6fa3e65e97276dd12266ebcfac9d932c2777ef.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'security/cyrus-sasl')
-rw-r--r-- | security/cyrus-sasl/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile index 9657c9abebe..8f569c9642e 100644 --- a/security/cyrus-sasl/Makefile +++ b/security/cyrus-sasl/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.55 2007/07/04 20:54:57 jlam Exp $ - -.include "Makefile.common" +# $NetBSD: Makefile,v 1.56 2008/08/12 10:16:54 obache Exp $ SVR4_PKGNAME= csasl COMMENT= Simple Authentication and Security Layer +PKG_DESTDIR_SUPPORT= user-destdir + +.include "Makefile.common" + .if exists(/usr/include/ndbm.h) SASL_DBTYPE?= ndbm .else @@ -65,9 +67,9 @@ PKG_SHELL.${CYRUS_USER}=${SH} MESSAGE_SUBST+= PLUGINDIR=${PLUGINDIR:Q} post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} cd ${WRKSRC}/doc; for file in *.fig *.html *.txt; do \ - ${INSTALL_DATA} $$file ${DOCDIR}; \ + ${INSTALL_DATA} $$file ${DESTDIR}${DOCDIR}; \ done .include "../../mk/bsd.pkg.mk" |