1997c75349
From Darrin Chandler
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2007/09/15 23:30:00 merdely Exp $
|
|
|
|
COMMENT= port scan detection and active defense
|
|
|
|
DISTNAME= portsentry-1.2
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
# Common Public License
|
|
PERMIT_PACKAGE_CDROM= commercial distribution defend and indemnify clauses
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= commercial distribution defend and indemnify clauses
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
|
|
|
|
WRKDIST= ${WRKDIR}/portsentry_beta
|
|
|
|
ALL_TARGET= openbsd
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}"
|
|
|
|
DOCS= README.install README.methods README.stealth
|
|
|
|
pre-build:
|
|
@perl -pi -e "s,/usr/local/psionic,${SYSCONFDIR}," \
|
|
${WRKSRC}/portsentry.conf
|
|
@perl -pi -e "s,/usr/local/psionic,${SYSCONFDIR}," \
|
|
${WRKSRC}/portsentry_config.h
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/portsentry
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/portsentry
|
|
${INSTALL_PROGRAM} ${WRKSRC}/portsentry ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/portsentry.conf \
|
|
${PREFIX}/share/examples/portsentry/
|
|
${INSTALL_DATA} ${WRKSRC}/portsentry.ignore \
|
|
${PREFIX}/share/examples/portsentry/
|
|
|
|
.for i in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/portsentry/
|
|
.endfor
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|