aboutsummaryrefslogtreecommitdiffstats
path: root/mail/nmh
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-12-21 13:59:05 +0800
committerlioux <lioux@FreeBSD.org>2001-12-21 13:59:05 +0800
commit925423b13cfd693b1e4c7842a354c4b50e4fcecc (patch)
tree438911eb6d04e4e486ae324ccc39bb4e84b96909 /mail/nmh
parentccfb0b00a1bbee3528e7ec60d1272e9ef1d605d4 (diff)
downloadfreebsd-ports-gnome-925423b13cfd693b1e4c7842a354c4b50e4fcecc.tar.gz
freebsd-ports-gnome-925423b13cfd693b1e4c7842a354c4b50e4fcecc.tar.zst
freebsd-ports-gnome-925423b13cfd693b1e4c7842a354c4b50e4fcecc.zip
autotools police: replace hardcoded references with AUTO{CONF,HEADER}
variables PR: 32298 Prompted by: maintainer
Diffstat (limited to 'mail/nmh')
-rw-r--r--mail/nmh/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index af1131c2d62d..52e8c590fb0b 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -94,6 +94,10 @@ MLINKS= mh-profile.5 mh_profile.5
MAN8= ap.8 conflict.8 dp.8 fmtdump.8 install-mh.8 mh-mts.8 post.8
+post-patch:
+ @${PERL} -pi -e "s|autoconf|${AUTOCONF}|;\
+ s|autoheader|${AUTOHEADER}|" ${WRKSRC}/Makefile.in
+
post-install:
@PKG_PREFIX='${PREFIX}' ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
chgrp mail ${PREFIX}/bin/inc