From 7e37c2d009cd717e81f38f833dfaa42d821fa89c Mon Sep 17 00:00:00 2001 From: bmah Date: Sat, 26 Oct 2002 00:22:32 +0000 Subject: Make the nmh package install nmh configuration files correctly. Update MAINTAINER address. (Bump PORTREVISION while I'm here.) PR: 39205 Submitted by: Scott Blachowicz Reviewed by: "Julian H. Stacey" --- mail/nmh/Makefile | 14 +++----------- mail/nmh/pkg-install | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index 312f282..e8d0e28 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -1,6 +1,6 @@ # New ports collection makefile for: nmh # Date created: 07 Feb 1999 -# Whom: Scott Blachowicz +# Whom: Scott Blachowicz # # $FreeBSD$ # @@ -53,13 +53,13 @@ PORTNAME= nmh PORTVERSION= 1.0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= ftp://ftp.mhost.com/pub/nmh/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= jkoshy -MAINTAINER= Scott.Blachowicz@seaslug.org +MAINTAINER= scott+ports@sabami.seaslug.org USE_AUTOCONF_VER=213 CONFIGURE_ARGS= --libdir=${PREFIX}/libexec/nmh \ @@ -114,13 +114,5 @@ post-patch: 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 diff --git a/mail/nmh/pkg-install b/mail/nmh/pkg-install index ed90d33..bdfd823 100644 --- a/mail/nmh/pkg-install +++ b/mail/nmh/pkg-install @@ -1,7 +1,22 @@ #!/bin/sh case "$2" in - ""|POST-INSTALL) cat <