diff options
author | mat <mat@FreeBSD.org> | 2014-01-26 06:03:15 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-01-26 06:03:15 +0800 |
commit | f769c0c12e95f5ed8a02b04b47cc5481a9549a62 (patch) | |
tree | 51a1e107205108606647ac9b8d35294bfa261f23 /textproc/antiword | |
parent | d324108d48b9089b3bb5b22986a6ec23eea99935 (diff) | |
download | freebsd-ports-gnome-f769c0c12e95f5ed8a02b04b47cc5481a9549a62.tar.gz freebsd-ports-gnome-f769c0c12e95f5ed8a02b04b47cc5481a9549a62.tar.zst freebsd-ports-gnome-f769c0c12e95f5ed8a02b04b47cc5481a9549a62.zip |
- Convert to staging
- Add license
- Convert to options helpers
Sponsored by: Absolight
Diffstat (limited to 'textproc/antiword')
-rw-r--r-- | textproc/antiword/Makefile | 16 | ||||
-rw-r--r-- | textproc/antiword/pkg-plist | 1 |
2 files changed, 7 insertions, 10 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile index 29c70b3707d7..4fb609fd4355 100644 --- a/textproc/antiword/Makefile +++ b/textproc/antiword/Makefile @@ -10,19 +10,17 @@ MASTER_SITES= http://www.winfield.demon.nl/linux/ MAINTAINER= leeym@FreeBSD.org COMMENT= An application to display Microsoft(tm) Word files -USE_GMAKE= yes +LICENSE= GPLv2 + +USES= gmake MAKE_JOBS_UNSAFE=yes INSTALL_TARGET= global_install -MAN1= antiword.1 PORTDOCS= COPYING ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \ QandA ReadMe antiword.1 antiword.man antiword.php testdoc.doc CFLAGS+= -DNDEBUG -NO_STAGE= yes -.include <bsd.port.options.mk> - post-patch: @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \ -e 's,/usr/local,${PREFIX},g' \ @@ -32,10 +30,8 @@ post-patch: @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/Unix-only/fontinfo.pl post-install: - @${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC}/Docs && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif + ${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/Docs && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/textproc/antiword/pkg-plist b/textproc/antiword/pkg-plist index 0e9bc3892c4e..b83b3016eff2 100644 --- a/textproc/antiword/pkg-plist +++ b/textproc/antiword/pkg-plist @@ -1,5 +1,6 @@ bin/antiword bin/kantiword +man/man1/antiword.1.gz %%DATADIR%%/8859-1.txt %%DATADIR%%/8859-10.txt %%DATADIR%%/8859-11.txt |