1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/security/portsentry/Makefile
Pav Lucistnik 0f1724b9b9 - Don't clobber portsentry.ignore on upgrade
PR:		ports/72689
Requested by:	Alex de Kruijff <freebsd@akruijff.dds.nl>
2004-10-15 16:26:46 +00:00

36 lines
936 B
Makefile

# New ports collection makefile for: sentry
# Date created: 3 January 1998
# Whom: chris@still.whet.org
#
# $FreeBSD$
#
PORTNAME= portsentry
PORTVERSION= 1.1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR= UNIX/IDS
MAINTAINER= ports@FreeBSD.org
COMMENT= Port scan detection and active defense
ALL_TARGET= freebsd
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's,__PREFIX__,${PREFIX},g' \
${WRKSRC}/portsentry.conf ${WRKSRC}/portsentry_config.h
do-install:
${INSTALL_DATA} ${WRKSRC}/portsentry.conf ${PREFIX}/etc/portsentry.conf.default
${INSTALL_DATA} ${WRKSRC}/portsentry.ignore ${PREFIX}/etc/portsentry.ignore.default
${INSTALL_PROGRAM} ${WRKSRC}/portsentry ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.install ${WRKSRC}/README.methods ${WRKSRC}/README.stealth \
${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>