summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorepg <epg>2008-08-21 20:35:36 +0000
committerepg <epg>2008-08-21 20:35:36 +0000
commit2b146d894096e82adc213e8de61f3773b21407a7 (patch)
tree24b15a246d4ee4d4bf61c6a73da09cb722348d21 /mail
parent62e26ad7b1b4bf5df67f6b416678ef6703937d69 (diff)
downloadpkgsrc-2b146d894096e82adc213e8de61f3773b21407a7.tar.gz
Use INSTALLATION_DIRS.
Diffstat (limited to 'mail')
-rw-r--r--mail/nmh/Makefile8
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}; \