1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Vanilla I. Shu 2014-07-10 13:19:08 +00:00
parent 20ce924051
commit 7e11c9598c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361451
3 changed files with 16 additions and 17 deletions

View File

@ -7,19 +7,14 @@ PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.tundraware.com/Software/mailfmt/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= Remove leading quotations from mail/news and wrap lines to fixed width
USE_PYTHON= yes
OPTIONS_DEFINE= DOCS
MANCOMPRESSED= yes
MAN1= mailfmt.1
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/mailfmt-license.txt ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/mailfmt-license.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,11 +1,14 @@
--- ./Makefile.orig 2002-10-09 22:43:16.000000000 +0300
+++ ./Makefile 2008-06-29 23:42:15.000000000 +0300
@@ -5,6 +5,6 @@
--- 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
- install -c -o root -g wheel -m 755 ./mailfmt ${PREFIX}/bin
- mkdir ${PREFIX}/share/doc/mailfmt
+# 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.1.gz ${PREFIX}/man/man1
- install -c -o root -g wheel -m 644 ./mailfmt-license.txt ${PREFIX}/share/doc/mailfmt
+ install -c -o root -g wheel -m 755 ./mailfmt $(DESTDIR)${PREFIX}/bin
+# mkdir ${PREFIX}/share/doc/mailfmt
+ install -c -o root -g wheel -m 644 ./mailfmt.1.gz $(DESTDIR)${PREFIX}/man/man1
+# install -c -o root -g wheel -m 644 ./mailfmt-license.txt ${PREFIX}/share/doc/mailfmt

View File

@ -1,3 +1,4 @@
bin/mailfmt
%%PORTDOCS%%share/doc/mailfmt/mailfmt-license.txt
%%PORTDOCS%%@dirrm share/doc/mailfmt
man/man1/mailfmt.1.gz
%%PORTDOCS%%%%DOCSDIR%%/mailfmt-license.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%