pkgsrc/security/portsentry/Makefile
agc 84af64ad7d Initial import of portsentry into the NetBSD packages collection.
PortSentry is a utility which detects and respond to port scans
against a target host in real-time.
2000-02-07 16:20:19 +00:00

27 lines
694 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2000/02/07 16:20:19 agc Exp $
#
DISTNAME= portsentry-1.0
CATEGORIES= security
MASTER_SITES= http://www.psionic.com/tools/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.psionic.com/abacus/portsentry/
ALL_TARGET= ${LOWER_OPSYS}
post-patch:
@cd ${WRKSRC}; \
case ${OPSYS} in \
NetBSD) netbsd=""; solaris="#" ;; \
SunOS) netbsd="#"; solaris="" ;; \
esac; \
for f in portsentry.conf portsentry_config.h; do \
${MV} $$f $$f.prefix; \
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
-e 's|@netbsd@|'$$netbsd'|g' \
-e 's|@solaris@|'$$solaris'|g' \
$$f.prefix > $$f; \
done
.include "../../mk/bsd.pkg.mk"