diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-03 19:07:42 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-03 19:07:42 +0800 |
commit | 3c84add98ac82eda070e432f3a92aedfb43dc669 (patch) | |
tree | a2e751173e1391f1a23699cc0b846570f62b3852 /sysutils/goaccess | |
parent | d04d38092ef9d7c9000b0caef6aeaf5dbada452b (diff) | |
download | freebsd-ports-gnome-3c84add98ac82eda070e432f3a92aedfb43dc669.tar.gz freebsd-ports-gnome-3c84add98ac82eda070e432f3a92aedfb43dc669.tar.zst freebsd-ports-gnome-3c84add98ac82eda070e432f3a92aedfb43dc669.zip |
- Switch to options helpers
- Fix binary installation (INSTALL_PROGRAM instead of INSTALL_SCRIPT + STRIP_CMD)
Approved by: portmgr blanket
Diffstat (limited to 'sysutils/goaccess')
-rw-r--r-- | sysutils/goaccess/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/sysutils/goaccess/Makefile b/sysutils/goaccess/Makefile index 6ede514f58d0..f4149c806c42 100644 --- a/sysutils/goaccess/Makefile +++ b/sysutils/goaccess/Makefile @@ -28,17 +28,12 @@ PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - do-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |