Lines 1-17
Link Here
|
1 |
# ex:ts=8 |
1 |
# ex:ts=8 |
2 |
# New ports collection Makefile for: sec |
2 |
# New ports collection Makefile for: sec |
3 |
# Date created: 25, February 2003 |
3 |
# Date created: 25, February 2003 |
4 |
# Whom: Nicolas Jombart <ecu@ipv42.net> |
4 |
# Whom: Nicolas Jombart <ecu@200ok.org> |
5 |
# |
5 |
# |
6 |
# $FreeBSD: ports/sysutils/sec/Makefile,v 1.16 2009/08/22 00:35:27 amdmi3 Exp $ |
6 |
# $FreeBSD: ports/sysutils/sec/Makefile,v 1.16 2009/08/22 00:35:27 amdmi3 Exp $ |
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= sec |
9 |
PORTNAME= sec |
10 |
PORTVERSION= 2.5.1 |
10 |
PORTVERSION= 2.6.2 |
11 |
CATEGORIES= sysutils |
11 |
CATEGORIES= sysutils |
12 |
MASTER_SITES= SF/simple-evcorr/${PORTNAME}/${PORTVERSION} |
12 |
MASTER_SITES= SF/simple-evcorr/${PORTNAME}/${PORTVERSION} |
13 |
|
13 |
|
14 |
MAINTAINER= ecu@ipv42.net |
14 |
MAINTAINER= ecu@200ok.org |
15 |
COMMENT= Simple event (logs) correlator |
15 |
COMMENT= Simple event (logs) correlator |
16 |
|
16 |
|
17 |
USE_PERL5_RUN= YES |
17 |
USE_PERL5_RUN= YES |
Lines 21-43
Link Here
|
21 |
SUB_LIST= PERL=${PERL} |
21 |
SUB_LIST= PERL=${PERL} |
22 |
|
22 |
|
23 |
MAN8= sec.8 |
23 |
MAN8= sec.8 |
|
|
24 |
MANCOMPRESSED= no |
25 |
.if !defined(NOPORTDOCS) |
24 |
PORTDOCS= ChangeLog README |
26 |
PORTDOCS= ChangeLog README |
|
|
27 |
.endif |
25 |
PLIST_FILES= bin/sec |
28 |
PLIST_FILES= bin/sec |
26 |
DATADIR= share/sec |
29 |
DATADIR= share/sec |
27 |
PORTCONTRIB= convert.pl itostream.c swatch2sec.pl |
30 |
PORTCONTRIB= convert.pl itostream.c swatch2sec.pl |
28 |
PLIST_FILES+= ${PORTCONTRIB:S|^|%%DATADIR%%/|} |
31 |
PLIST_FILES+= ${PORTCONTRIB:S|^|%%DATADIR%%/|} |
29 |
PLIST_DIRS+= ${DATADIR} |
32 |
PLIST_DIRS+= ${DATADIR} |
30 |
|
33 |
|
31 |
post-patch: |
|
|
32 |
@${REINPLACE_CMD} -e \ |
33 |
's|${PORTNAME}.pl|${PORTNAME}|g' ${WRKSRC}/${PORTNAME}.pl.man |
34 |
|
35 |
do-install: |
34 |
do-install: |
36 |
${INSTALL_SCRIPT} ${WRKSRC}/sec.pl ${PREFIX}/bin/${PORTNAME} |
35 |
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ |
37 |
${INSTALL_MAN} ${WRKSRC}/sec.pl.man ${PREFIX}/man/man8/sec.8 |
36 |
${INSTALL_MAN} ${WRKSRC}/sec.man ${PREFIX}/man/man8/sec.8 |
38 |
.if !defined(NOPORTDOCS) |
37 |
.if !defined(NOPORTDOCS) |
39 |
@${MKDIR} ${DOCSDIR} |
38 |
${MKDIR} ${DOCSDIR} |
40 |
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} |
39 |
.for file in ${PORTDOCS} |
|
|
40 |
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} |
41 |
.endfor |
41 |
.endif |
42 |
.endif |
42 |
@${MKDIR} ${PREFIX}/${DATADIR} |
43 |
@${MKDIR} ${PREFIX}/${DATADIR} |
43 |
cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${PREFIX}/${DATADIR} |
44 |
cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${PREFIX}/${DATADIR} |