1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/sysutils/sec/Makefile
Cheng-Lung Sung cb49f98107 - Update to 2.4.0
PR:		ports/105003
Submitted by:	maintainer (Nicolas Jombart)
2006-11-02 06:39:56 +00:00

47 lines
1.1 KiB
Makefile

# ex:ts=8
# New ports collection Makefile for: sec
# Date created: 25, February 2003
# Whom: Nicolas Jombart <ecu@ipv42.net>
#
# $FreeBSD$
#
PORTNAME= sec
PORTVERSION= 2.4.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= simple-evcorr
MAINTAINER= ecu@ipv42.net
COMMENT= Simple event (logs) correlator
USE_PERL5_RUN= YES
NO_BUILD= YES
USE_RC_SUBR= sec
SUB_LIST= PERL=${PERL}
MAN8= sec.8
PORTDOCS= ChangeLog README
PLIST_FILES= bin/sec
DATADIR= share/sec
PORTCONTRIB= convert.pl itostream.c swatch2sec.pl
PLIST_FILES+= ${PORTCONTRIB:S|^|%%DATADIR%%/|}
PLIST_DIRS+= ${DATADIR}
post-patch:
@${REINPLACE_CMD} -e \
's|${PORTNAME}.pl|${PORTNAME}|g' ${WRKSRC}/${PORTNAME}.pl.man
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sec.pl ${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/sec.pl.man ${PREFIX}/man/man8/sec.8
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${MKDIR} ${PREFIX}/${DATADIR}
cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${PREFIX}/${DATADIR}
.include <bsd.port.mk>