diff options
author | abs <abs@pkgsrc.org> | 2009-02-13 15:28:03 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-02-13 15:28:03 +0000 |
commit | 6d30372b9b629eaea3b8d7f740fe43267a69f05b (patch) | |
tree | 56a7a9dd317c77dc3a6fea3d7998d91915038c7a /mail/exim/Makefile | |
parent | bef27f79dc6e1a2ec59b493dfeff87befe32a977 (diff) | |
download | pkgsrc-6d30372b9b629eaea3b8d7f740fe43267a69f05b.tar.gz |
Add PKG_DESTDIR_SUPPORT=destdir
Diffstat (limited to 'mail/exim/Makefile')
-rw-r--r-- | mail/exim/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile index 92ed5290f4f..772d0093637 100644 --- a/mail/exim/Makefile +++ b/mail/exim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.94 2009/01/12 18:59:24 abs Exp $ +# $NetBSD: Makefile,v 1.95 2009/02/13 15:28:03 abs Exp $ DISTNAME= exim-4.69 PKGREVISION= 4 @@ -23,6 +23,8 @@ MAKE_ENV+= INST_CHOWN=${CHOWN:Q} MAKE_FLAGS+= FULLECHO='' MAKE_JOBS_SAFE= no +PKG_DESTDIR_SUPPORT = destdir + .include "../../mk/bsd.prefs.mk" BUILD_DEFS+= EXIM_DB EXIM_MAX_INCLUDE_SIZE @@ -106,10 +108,11 @@ post-build: ${FILESDIR}/mailer.conf.exim \ > ${WRKDIR}/mailer.conf +INSTALLATION_DIRS = ${PKGMANDIR}/man8 sbin share/examples/exim + post-install: - ${INSTALL_DATA_DIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKDIR}/mailer.conf ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/exim.8 ${PREFIX}/${PKGMANDIR}/man8/exim.8 + ${INSTALL_DATA} ${WRKDIR}/mailer.conf ${DESTDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/exim.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/exim.8 .include "../../converters/libiconv/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |