diff options
author | epg <epg@pkgsrc.org> | 2008-08-21 20:35:36 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2008-08-21 20:35:36 +0000 |
commit | 1e9574f36bcf2f5c15f49e4edd1855902aa9031d (patch) | |
tree | 24b15a246d4ee4d4bf61c6a73da09cb722348d21 /mail | |
parent | 91e70dda363bbf9eb3c342bb6429e2eca787b86c (diff) | |
download | pkgsrc-1e9574f36bcf2f5c15f49e4edd1855902aa9031d.tar.gz |
Use INSTALLATION_DIRS.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/nmh/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index 199e2ea2bcb..ab594c32f43 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.69 2008/08/19 19:22:46 epg Exp $ +# $NetBSD: Makefile,v 1.70 2008/08/21 20:35:36 epg Exp $ DISTNAME= nmh-1.3 CATEGORIES= mail @@ -61,6 +61,7 @@ CONFIGURE_ARGS+= --without-krb4 DOCDIR= share/doc/nmh EGDIR= ${PREFIX}/share/examples/nmh +INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} BUILD_DEFS+= NMH_MTA NMH_EDITOR NMH_PAGER NMH_HASH_BACKUP @@ -95,12 +96,7 @@ CONF_FILES= # empty CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} .endfor -# This hopefully makes sure the permissions and ownership are right. -pre-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} - post-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR} for f in `${GREP} '^${DOCDIR}/' ${PKGDIR}/PLIST`; do \ ${INSTALL_DATA} ${WRKSRC}/docs/`${BASENAME} $$f` \ ${DESTDIR}${PREFIX}/${DOCDIR}; \ |