aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-09-03 01:03:22 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-09-03 01:03:22 +0800
commit9c2d297904a996d882a3fd5f94b2e543741fa32a (patch)
tree9f7d9de689e6933cf8f4ebba2efa771b380a571d
parent77344e8440801b05927acf134ffd6c325ae71b64 (diff)
downloadfreebsd-ports-gnome-9c2d297904a996d882a3fd5f94b2e543741fa32a.tar.gz
freebsd-ports-gnome-9c2d297904a996d882a3fd5f94b2e543741fa32a.tar.zst
freebsd-ports-gnome-9c2d297904a996d882a3fd5f94b2e543741fa32a.zip
Make path for gpg in ${PREFIX}/share/doc/mutt/samples/gpg.rc to honor ${PREFIX}
Submitted by: clive Modified by: maintainer
-rw-r--r--mail/mutt-devel/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index bb5c53c146a7..a3ce76b5ba6b 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -118,6 +118,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//}
MAN1= flea.1 mutt.1 mutt_dotlock.1 muttbug.1
MAN5= muttrc.5 mbox.5
+post-patch:
+ @${PERL} -pi.fbsd -e 's,/usr/bin/gpg,${PREFIX}/bin/gpg,g' \
+ ${WRKSRC}/contrib/gpg.rc
+
pre-configure:
(cd ${WRKSRC}; aclocal -I m4)