1999-01-20 20:49:45 +00:00
|
|
|
# New ports collection makefile for: sentry
|
1998-12-19 16:53:20 +00:00
|
|
|
# Date created: 3 January 1998
|
|
|
|
# Whom: chris@still.whet.org
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1998-12-19 16:53:20 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= portsentry
|
2000-04-21 08:19:33 +00:00
|
|
|
PORTVERSION= 1.0
|
1998-12-19 16:53:20 +00:00
|
|
|
CATEGORIES= security
|
1999-04-19 19:49:40 +00:00
|
|
|
MASTER_SITES= http://www.psionic.com/tools/
|
1998-12-19 16:53:20 +00:00
|
|
|
|
1999-12-22 14:26:41 +00:00
|
|
|
MAINTAINER= dan@freebsddiary.org
|
1998-12-19 16:53:20 +00:00
|
|
|
|
1999-05-17 05:21:25 +00:00
|
|
|
ALL_TARGET= freebsd
|
1998-12-19 16:53:20 +00:00
|
|
|
|
1999-05-17 05:21:25 +00:00
|
|
|
post-patch:
|
1999-12-22 14:26:41 +00:00
|
|
|
@${PERL} -pi -e 's,__PREFIX__,${PREFIX},g' ${WRKSRC}/portsentry.conf
|
|
|
|
@${PERL} -pi -e 's,__PREFIX__,${PREFIX},g' ${WRKSRC}/portsentry_config.h
|
1999-05-17 05:21:25 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.if !exists($(PREFIX)/etc/portsentry.conf)
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/portsentry.conf ${PREFIX}/etc
|
|
|
|
.endif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/portsentry.conf ${PREFIX}/etc/portsentry.conf.default
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/portsentry.ignore ${PREFIX}/etc
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/portsentry ${PREFIX}/bin
|
1999-01-20 20:49:45 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-05-17 05:21:25 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/portsentry
|
2000-08-26 10:20:24 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.install ${WRKSRC}/README.methods ${WRKSRC}/README.stealth \
|
1999-05-17 05:21:25 +00:00
|
|
|
${PREFIX}/share/doc/portsentry
|
1999-01-20 20:49:45 +00:00
|
|
|
.endif
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-01-20 20:49:45 +00:00
|
|
|
|
1998-12-19 16:53:20 +00:00
|
|
|
.include <bsd.port.mk>
|