diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-04-10 11:35:12 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-04-10 11:35:12 +0000 |
commit | 421c90167591fcde5a2b8b16aa3eaa8f49671502 (patch) | |
tree | 714a0530f2370521edc932f98b952f035dfd382e /textproc/antiword | |
parent | a6647be0a9d0fc7608d77f382dc6595ae61d32be (diff) | |
download | ports-421c90167591fcde5a2b8b16aa3eaa8f49671502.tar.gz ports-421c90167591fcde5a2b8b16aa3eaa8f49671502.zip |
- Fix LICENSE
- Don't install COPYING with docs
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=438147
Diffstat (limited to 'textproc/antiword')
-rw-r--r-- | textproc/antiword/Makefile | 17 | ||||
-rw-r--r-- | textproc/antiword/files/patch-wordole.c | 2 |
2 files changed, 8 insertions, 11 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile index ab095937109f..4d6f6ae2f413 100644 --- a/textproc/antiword/Makefile +++ b/textproc/antiword/Makefile @@ -10,7 +10,7 @@ MASTER_SITES= http://www.winfield.demon.nl/linux/ MAINTAINER= ports@FreeBSD.org COMMENT= Application for displaying Microsoft(R) Word documents -LICENSE= GPLv2 +LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/Docs/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/n022003l.afm:print/gsfonts @@ -23,18 +23,13 @@ SHEBANG_FILES= kantiword Unix-only/fontinfo.pl MAKE_JOBS_UNSAFE=yes INSTALL_TARGET= global_install -PORTDOCS= COPYING ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \ +PORTDOCS= ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \ QandA ReadMe antiword.1 antiword.man antiword.php testdoc.doc -OPTIONS_DEFINE= DEBUG +OPTIONS_DEFINE= DOCS DEBUG -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDEBUG} -CFLAGS+= -DDEBUG -.else -CFLAGS+= -DNDEBUG -.endif +DEBUG_CFLAGS= -DDEBUG +DEBUG_CFLAGS_OFF= -DNDEBUG post-patch: @${REINPLACE_CMD} -E 's,/usr/share,${LOCALBASE}/share,g; s,fonts2,fonts,' ${WRKSRC}/Unix-only/fontinfo.pl @@ -43,6 +38,8 @@ post-patch: post-install: ${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/Docs && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} diff --git a/textproc/antiword/files/patch-wordole.c b/textproc/antiword/files/patch-wordole.c index f3ecae43ba92..0c69382558f8 100644 --- a/textproc/antiword/files/patch-wordole.c +++ b/textproc/antiword/files/patch-wordole.c @@ -1,4 +1,4 @@ ---- wordole.c +--- wordole.c.orig 2005-08-26 19:49:57 UTC +++ wordole.c @@ -259,6 +259,11 @@ bGetPPS(FILE *pFile, } |