aboutsummaryrefslogtreecommitdiff
path: root/mail/metamail
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-27 09:39:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-27 09:39:48 +0000
commite306e79fcb98437f970a5114139af8163631b0a4 (patch)
tree1a26d228df6317f51a9d8c2bd6f9e5fe099eda2c /mail/metamail
parentac30151c583f4f51ace2b74fcf2ee2e267b2f9c8 (diff)
downloadports-e306e79fcb98437f970a5114139af8163631b0a4.tar.gz
ports-e306e79fcb98437f970a5114139af8163631b0a4.zip
Notes
Diffstat (limited to 'mail/metamail')
-rw-r--r--mail/metamail/Makefile2
-rw-r--r--mail/metamail/files/patch-Makefile11
2 files changed, 9 insertions, 4 deletions
diff --git a/mail/metamail/Makefile b/mail/metamail/Makefile
index 8a4cdbccec6c..28ddf3236bb3 100644
--- a/mail/metamail/Makefile
+++ b/mail/metamail/Makefile
@@ -43,7 +43,7 @@ PLIST_SUB+= X11="@comment "
.endif
post-patch:
-.if empty(PORT_OPTIONS:MX11)
+.if ! ${PORT_OPTIONS:MX11}
@${REINPLACE_CMD} -e '/fonts/d' ${WRKSRC}/Makefile
.endif
@${RM} ${WRKSRC}/bin/*.orig
diff --git a/mail/metamail/files/patch-Makefile b/mail/metamail/files/patch-Makefile
index 7d820f8f668b..5b1c63ff202e 100644
--- a/mail/metamail/files/patch-Makefile
+++ b/mail/metamail/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Wed Jan 26 18:32:33 1994
-+++ Makefile Mon Dec 18 11:46:21 2006
+--- Makefile.orig 1994-01-26 18:32:33.000000000 +0100
++++ Makefile 2013-05-27 11:38:13.565381504 +0200
@@ -26,7 +26,7 @@
CP = cp
@@ -64,7 +64,12 @@
-${RM} bin/shownonascii
(cd bin; ${LN} ../fonts/shownonascii shownonascii)
-${RM} bin/mailto-hebrew
-@@ -149,6 +149,7 @@
+@@ -145,10 +145,11 @@
+ echo "installing man page $$target";\
+ ${CP} $$file $$target; \
+ done)
+- @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old
++ @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old"
-mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old
@echo "installing file $(MAILCAPDIR)/mailcap"
${CP} mailcap $(MAILCAPDIR)