Annotation of pkgsrc/security/portsentry/Makefile, Revision 1.14
1.14 ! tv 1: # $NetBSD: Makefile,v 1.13 2004/12/03 15:15:08 wiz Exp $
1.1 agc 2: #
3:
1.11 agc 4: DISTNAME= portsentry-1.2
1.1 agc 5: CATEGORIES= security
1.11 agc 6: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
1.1 agc 7:
1.8 grant 8: MAINTAINER= tech-pkg@NetBSD.org
1.11 agc 9: HOMEPAGE= http://sourceforge.net/projects/sentrytools/
1.9 martti 10: COMMENT= Detects and respond to port scans against a target host in real-time
1.3 jtb 11:
1.5 jmmv 12: USE_PKGINSTALL= YES
1.11 agc 13: WRKSRC= ${WRKDIR}/portsentry_beta
1.5 jmmv 14:
1.13 wiz 15: BUILD_TARGET= ${LOWER_OPSYS}
1.1 agc 16:
1.5 jmmv 17: EGDIR= ${PREFIX}/share/examples/portsentry
18: CONF_FILES= ${EGDIR}/portsentry.conf ${PKG_SYSCONFDIR}/portsentry.conf
19: CONF_FILES+= ${EGDIR}/portsentry.ignore ${PKG_SYSCONFDIR}/portsentry.ignore
20:
1.1 agc 21: post-patch:
22: @cd ${WRKSRC}; \
23: case ${OPSYS} in \
24: NetBSD) netbsd=""; solaris="#" ;; \
25: SunOS) netbsd="#"; solaris="" ;; \
26: esac; \
27: for f in portsentry.conf portsentry_config.h; do \
28: ${MV} $$f $$f.prefix; \
29: ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
1.5 jmmv 30: -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
1.1 agc 31: -e 's|@netbsd@|'$$netbsd'|g' \
32: -e 's|@solaris@|'$$solaris'|g' \
33: $$f.prefix > $$f; \
34: done
1.4 wiz 35:
36: post-install:
37: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/portsentry
38: ${INSTALL_DATA} ${WRKSRC}/README.install ${PREFIX}/share/doc/portsentry
39: ${INSTALL_DATA} ${WRKSRC}/README.methods ${PREFIX}/share/doc/portsentry
1.1 agc 40:
41: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>