blob: 983d3b86ebc2c83ea983ccbdb1f8868d6c516028 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Nicolas Jombart <ecu@200ok.org>
# $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}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= ChangeLog README
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/sec.man ${PREFIX}/man/man8/sec.8
.if empty(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>
|