mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
1d74f0d605
- define PORTDOCS list uncoditionally, while here PR: ports/175610 Submitted by: Nicolas Jombart <ecu@200ok.org> (maintainer)
41 lines
912 B
Makefile
41 lines
912 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= sec
|
|
PORTVERSION= 2.6.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/simple-evcorr/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ecu@200ok.org
|
|
COMMENT= Simple event (logs) correlator
|
|
|
|
USE_PERL5_RUN= YES
|
|
NO_BUILD= YES
|
|
|
|
USE_RC_SUBR= sec
|
|
SUB_LIST= PERL=${PERL}
|
|
|
|
MAN8= sec.8
|
|
MANCOMPRESSED= no
|
|
PLIST_FILES= bin/sec
|
|
DATADIR= share/sec
|
|
PORTCONTRIB= convert.pl itostream.c swatch2sec.pl
|
|
PLIST_FILES+= ${PORTCONTRIB:S|^|%%DATADIR%%/|}
|
|
PLIST_DIRS+= ${DATADIR}
|
|
PORTDOCS= ChangeLog README
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/sec.man ${PREFIX}/man/man8/sec.8
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${MKDIR} ${PREFIX}/${DATADIR}
|
|
cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${PREFIX}/${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|