aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-08-30 09:01:25 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-08-30 09:01:25 +0000
commitca65dd8a9251dcd60035ee620c6febf8dde5c0a6 (patch)
treea86430e3a7f9d70576736bbb9873995bc6a3a0f0 /mail
parente8bff628dbcf64b123ddd0222aeca218003ff76b (diff)
downloadports-ca65dd8a9251dcd60035ee620c6febf8dde5c0a6.tar.gz
ports-ca65dd8a9251dcd60035ee620c6febf8dde5c0a6.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/mailfmt/Makefile11
-rw-r--r--mail/mailfmt/files/patch-Makefile14
2 files changed, 9 insertions, 16 deletions
diff --git a/mail/mailfmt/Makefile b/mail/mailfmt/Makefile
index 1a3f53069b0b..38ef028a5344 100644
--- a/mail/mailfmt/Makefile
+++ b/mail/mailfmt/Makefile
@@ -11,10 +11,17 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Remove leading quotations from mail/news and wrap lines to fixed width
USES= python
+NO_ARCH= yes
+NO_BUILD= yes
+
OPTIONS_DEFINE= DOCS
-post-install:
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/mailfmt-license.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/mailfmt-license.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/mail/mailfmt/files/patch-Makefile b/mail/mailfmt/files/patch-Makefile
deleted file mode 100644
index 46c7c142224f..000000000000
--- a/mail/mailfmt/files/patch-Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
---- Makefile.orig 2002-10-10 03:43:16.000000000 +0800
-+++ Makefile 2014-07-10 21:12:43.040252063 +0800
-@@ -4,7 +4,7 @@
- all: # Do nothing - this is a python script that needs no build
-
- install:
-- install -c -o root -g wheel -m 755 ./mailfmt ${PREFIX}/bin
-- mkdir ${PREFIX}/share/doc/mailfmt
-- install -c -o root -g wheel -m 644 ./mailfmt.1.gz ${PREFIX}/man/man1
-- install -c -o root -g wheel -m 644 ./mailfmt-license.txt ${PREFIX}/share/doc/mailfmt
-+ $(BSD_INSTALL_SCRIPT) ./mailfmt $(DESTDIR)${PREFIX}/bin
-+# mkdir ${PREFIX}/share/doc/mailfmt
-+ $(BSD_INSTALL_MAN) ./mailfmt.1.gz $(DESTDIR)${PREFIX}/man/man1
-+# install -c -o root -g wheel -m 644 ./mailfmt-license.txt ${PREFIX}/share/doc/mailfmt