bb78800a7c
Additional port changes: * Changed to DISTVERSION * Fixed %%DATADIR%% in PLIST_FILES * Split out do-install-DOCS-on from do-install * Changed URL to https in WWW PR: 226196 Submitted by: Nicolas Jombart <ecu@200ok.org> (maintainer) Approved by: tcberner (mentor, implicit)
38 lines
913 B
Makefile
38 lines
913 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= sec
|
|
DISTVERSION= 2.7.12
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/simple-evcorr/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ecu@200ok.org
|
|
COMMENT= Simple event (logs) correlator
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= perl5 shebangfix
|
|
USE_RC_SUBR= sec
|
|
SHEBANG_FILES= sec
|
|
SUB_LIST= PERL=${PERL}
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= ChangeLog README
|
|
|
|
PLIST_FILES= bin/sec man/man8/sec.8.gz
|
|
PORTCONTRIB= convert.pl itostream.c swatch2sec.pl
|
|
PLIST_FILES+= ${PORTCONTRIB:S|^|share/sec/|}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/sec.man ${STAGEDIR}${MANPREFIX}/man/man8/sec.8
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${STAGEDIR}${DATADIR}
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|