freebsd-ports/sysutils/sec/Makefile
Pav Lucistnik 5c74b85a8f - Provide rc script
PR:		ports/95708
Submitted by:	Jo Rhett <jrhett@svcolo.com>
Approved by:	Nicolas Jombart <ecu@ipv42.net> (maintainer)
2006-10-07 21:30:59 +00:00

40 lines
883 B
Makefile

# New ports collection Makefile for: sec
# Date created: 25, February 2003
# Whom: Nicolas Jombart <ecu@ipv42.net>
#
# $FreeBSD$
#
PORTNAME= sec
PORTVERSION= 2.3.3
PORTREVISION= 1
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 convert.pl itostream.c
PLIST_FILES= bin/sec
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
.include <bsd.port.mk>