1999-01-20 20:49:45 +00:00
|
|
|
# New ports collection makefile for: sentry
|
1999-05-17 05:21:25 +00:00
|
|
|
# Version required: 0.90
|
1998-12-19 16:53:20 +00:00
|
|
|
# Date created: 3 January 1998
|
|
|
|
# Whom: chris@still.whet.org
|
|
|
|
#
|
1999-05-17 05:21:25 +00:00
|
|
|
# $Id: Makefile,v 1.3 1999/04/19 19:49:32 mharo Exp $
|
1998-12-19 16:53:20 +00:00
|
|
|
#
|
|
|
|
|
1999-05-17 05:21:25 +00:00
|
|
|
DISTNAME= portsentry-0.90
|
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
|
|
|
|
|
|
|
MAINTAINER= chris@still.whet.org
|
|
|
|
|
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:
|
|
|
|
@/usr/bin/perl -pi -e 's,__PREFIX__,${PREFIX},g' ${WRKSRC}/portsentry.conf
|
|
|
|
@/usr/bin/perl -pi -e 's,__PREFIX__,${PREFIX},g' ${WRKSRC}/portsentry_config.h
|
|
|
|
|
|
|
|
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
|
1999-01-20 20:49:45 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.install ${WRKSRC}/README.methods \
|
1999-05-17 05:21:25 +00:00
|
|
|
${PREFIX}/share/doc/portsentry
|
1999-01-20 20:49:45 +00:00
|
|
|
.endif
|
1999-05-17 05:21:25 +00:00
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
1999-01-20 20:49:45 +00:00
|
|
|
|
1998-12-19 16:53:20 +00:00
|
|
|
.include <bsd.port.mk>
|