diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-05-20 17:03:39 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-05-20 17:03:39 +0800 |
commit | cf0e763bb45ac397c31c977235cbf60f38849ec6 (patch) | |
tree | 7c4e68565375c1d43bcd51e96eecfc00ece5b697 /textproc/amberfish | |
parent | e7cfcb4f857ae5cfa6345c18552ce13dd377fc0e (diff) | |
download | freebsd-ports-gnome-cf0e763bb45ac397c31c977235cbf60f38849ec6.tar.gz freebsd-ports-gnome-cf0e763bb45ac397c31c977235cbf60f38849ec6.tar.zst freebsd-ports-gnome-cf0e763bb45ac397c31c977235cbf60f38849ec6.zip |
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'textproc/amberfish')
-rw-r--r-- | textproc/amberfish/Makefile | 7 |
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} |