aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sec/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-01-31 11:46:20 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-01-31 11:46:20 +0000
commit50f19c997f60eb91bdae1178542908225391d5f8 (patch)
treeb5c67bd77a850fd1c2bb047d95db935ef231965e /sysutils/sec/Makefile
parent1bc89192485005ab9ba142b154a5e561543c533d (diff)
downloadports-50f19c997f60eb91bdae1178542908225391d5f8.tar.gz
ports-50f19c997f60eb91bdae1178542908225391d5f8.zip
Notes
Diffstat (limited to 'sysutils/sec/Makefile')
-rw-r--r--sysutils/sec/Makefile32
1 files changed, 16 insertions, 16 deletions
diff --git a/sysutils/sec/Makefile b/sysutils/sec/Makefile
index 0e465378d712..d65752586e2a 100644
--- a/sysutils/sec/Makefile
+++ b/sysutils/sec/Makefile
@@ -1,40 +1,40 @@
# $FreeBSD$
PORTNAME= sec
-PORTVERSION= 2.6.2
+PORTVERSION= 2.7.0
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
+LICENSE= GPLv2
+USE_PERL5_RUN= yes
USE_RC_SUBR= sec
-SUB_LIST= PERL=${PERL}
+
+NO_BUILD= yes
MAN8= sec.8
-MANCOMPRESSED= no
+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}
-PORTDOCS= ChangeLog README
+PLIST_DIRS+= %%DATADIR%%
+
+OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/sec.man ${PREFIX}/man/man8/sec.8
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/sec.man ${MANPREFIX}/man/man8/sec.8
+ @${MKDIR} ${DATADIR}
+ cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${DATADIR}
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for file in ${PORTDOCS}
- ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
- @${MKDIR} ${PREFIX}/${DATADIR}
- cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${PREFIX}/${DATADIR}
.include <bsd.port.mk>