mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
a247b2f47d
other miscellaneous files that are not actually manual pages (part 2).
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# Created by: Lars Engels <lme@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fcheck
|
|
PORTVERSION= 2.07.59
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.sourcefiles.org/Networking/Security/Intrusion_Detection/ \
|
|
http://bsd-geek.de/FreeBSD/distfiles/
|
|
DISTNAME= FCheck_${PORTVERSION}
|
|
|
|
MAINTAINER= lme@FreeBSD.org
|
|
COMMENT= Intrusion detection and Policy enforcement / auditing software
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
NO_BUILD= YES
|
|
USES= perl5 shebangfix dos2unix
|
|
|
|
SHEBANG_FILES= ${WRKSRC}/${PORTNAME}
|
|
DOS2UNIX_FILES= ${WRKSRC}/${PORTNAME}.cfg
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local/admtools/conf/|${PREFIX}/etc/|' \
|
|
${WRKSRC}/${PORTNAME}
|
|
@${REINPLACE_CMD} -e 's|/usr/local/admtools/|/var/${PORTNAME}/|' \
|
|
-e 's|/bin/file|/usr/bin/file|' -e 's|/bin/cksum|/sbin/sha512|' \
|
|
${WRKSRC}/${PORTNAME}.cfg
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}/var/${PORTNAME}/logs
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.sample
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/install ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.post.mk>
|