diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-04 21:21:11 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-04 21:21:11 +0800 |
commit | 46edf7da3d9240c6b901a76db55f795e87cdfac9 (patch) | |
tree | 8eae1f3822c473c88996ab44abb954be0b41876b /sysutils | |
parent | 685cba4ec7c21d2e2a5b8b89fd978fc0d29f4128 (diff) | |
download | freebsd-ports-gnome-46edf7da3d9240c6b901a76db55f795e87cdfac9.tar.gz freebsd-ports-gnome-46edf7da3d9240c6b901a76db55f795e87cdfac9.tar.zst freebsd-ports-gnome-46edf7da3d9240c6b901a76db55f795e87cdfac9.zip |
- Use new OPTIONS framework
- Add LICENSE
- Support staging
- USE_GMAKE -> USES=gmake
- Strip shared objects
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ccze/Makefile | 23 | ||||
-rw-r--r-- | sysutils/ccze/pkg-plist | 5 |
2 files changed, 16 insertions, 12 deletions
diff --git a/sysutils/ccze/Makefile b/sysutils/ccze/Makefile index 6f18560979af..b40ec14c7532 100644 --- a/sysutils/ccze/Makefile +++ b/sysutils/ccze/Makefile @@ -10,21 +10,24 @@ MASTER_SITES= http://falafel.200ok.org/distfiles/ccze/ \ MAINTAINER= ecu@200ok.org COMMENT= Fast log colorizer -LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre +LICENSE= GPLv2 +LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre + +USES= gmake GNU_CONFIGURE= yes -USE_GMAKE= yes USE_LDCONFIG= yes -MAN1= ccze.1 ccze-cssdump.1 -MAN7= ccze-plugin.7 +OPTIONS_DEFINE= DOCS + +PORTDOCS= FAQ + +.include <bsd.port.options.mk> -NO_STAGE= yes post-install: - @${WRKSRC}/src/ccze-dump > ${PREFIX}/etc/cczerc-sample -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR} -.endif + @${WRKSRC}/src/ccze-dump > ${STAGEDIR}${PREFIX}/etc/cczerc-sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/FAQ ${STAGEDIR}${DOCSDIR} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/*.so .include <bsd.port.mk> diff --git a/sysutils/ccze/pkg-plist b/sysutils/ccze/pkg-plist index aa678474ea12..9cfc4f76036a 100644 --- a/sysutils/ccze/pkg-plist +++ b/sysutils/ccze/pkg-plist @@ -21,6 +21,7 @@ lib/ccze/syslog.so lib/ccze/ulogd.so lib/ccze/vsftpd.so lib/ccze/xferlog.so +man/man1/ccze-cssdump.1.gz +man/man1/ccze.1.gz +man/man7/ccze-plugin.7.gz @dirrmtry lib/ccze -%%PORTDOCS%%%%DOCSDIR%%/FAQ -%%PORTDOCS%%@dirrm %%DOCSDIR%% |