diff options
author | epg <epg> | 2008-08-21 20:35:36 +0000 |
---|---|---|
committer | epg <epg> | 2008-08-21 20:35:36 +0000 |
commit | 2b146d894096e82adc213e8de61f3773b21407a7 (patch) | |
tree | 24b15a246d4ee4d4bf61c6a73da09cb722348d21 /mail | |
parent | 62e26ad7b1b4bf5df67f6b416678ef6703937d69 (diff) | |
download | pkgsrc-2b146d894096e82adc213e8de61f3773b21407a7.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}; \ |