5af00ad844
XXX: license == no-commercial-usage? XXX: 1.1 and 2.0b1 are out
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2002/06/01 12:33:20 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= portsentry-1.0
|
|
PKGREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.psionic.com/tools/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.psionic.com/abacus/portsentry/
|
|
COMMENT= detects and respond to port scans against a target host in real-time
|
|
|
|
LICENSE= portsentry-license
|
|
|
|
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
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/portsentry
|
|
${INSTALL_DATA} ${WRKSRC}/README.install ${PREFIX}/share/doc/portsentry
|
|
${INSTALL_DATA} ${WRKSRC}/README.methods ${PREFIX}/share/doc/portsentry
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|