aboutsummaryrefslogtreecommitdiff
path: root/textproc/amberfish
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-20 09:03:39 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-20 09:03:39 +0000
commitc4e8da28998162fec487998be5bdfb6a504e34fb (patch)
tree7c4e68565375c1d43bcd51e96eecfc00ece5b697 /textproc/amberfish
parentf9c5e6b153610ad68a45027c5c3b7816eb5cde0b (diff)
downloadports-c4e8da28998162fec487998be5bdfb6a504e34fb.tar.gz
ports-c4e8da28998162fec487998be5bdfb6a504e34fb.zip
- Add LICENSE
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=415545
Diffstat (limited to 'textproc/amberfish')
-rw-r--r--textproc/amberfish/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/textproc/amberfish/Makefile b/textproc/amberfish/Makefile
index b33c10a03c7d..44e4ccfdc447 100644
--- a/textproc/amberfish/Makefile
+++ b/textproc/amberfish/Makefile
@@ -11,6 +11,9 @@ MASTER_SITES= SF/${PORTNAME}/Amberfish%20source%20-%20stable/${PORTVERSION} \
MAINTAINER= ports@FreeBSD.org
COMMENT= General purpose text retrieval Software
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3
USES= gmake makeinfo
@@ -23,7 +26,7 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-extract:
- ${INSTALL_DATA} ${FILESDIR}/porter.cc ${WRKSRC}/src
+ ${CP} ${FILESDIR}/porter.cc ${WRKSRC}/src
post-patch:
@${REINPLACE_CMD} -e \
@@ -35,7 +38,7 @@ post-patch:
s|make strip|| ; \
s|cp |$${BSD_INSTALL_PROGRAM} |' ${WRKSRC}/src/Makefile.in
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/amberfish.png ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${STAGEDIR}${DOCSDIR}