summaryrefslogtreecommitdiffstats
path: root/mail/nmh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/nmh/Makefile')
-rw-r--r--mail/nmh/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index bb7fc16..af1131c 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -48,6 +48,7 @@
PORTNAME= nmh
PORTVERSION= 1.0.4
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.mhost.com/pub/nmh/ \
${MASTER_SITE_LOCAL}
@@ -97,5 +98,11 @@ post-install:
@PKG_PREFIX='${PREFIX}' ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
chgrp mail ${PREFIX}/bin/inc
${CHMOD} g+s ${PREFIX}/bin/inc
+ for file in ${PREFIX}/etc/nmh/*.default ; do \
+ if [ \! -f $${file%%.default} ] ; then \
+ cp $$file $${file%%.default} ; \
+ chmod u+w $${file%%.default} ; \
+ fi \
+ done
.include <bsd.port.mk>
OpenPOWER on IntegriCloud