blob: 10936bb066604d0ade601ba1d073d1fd85af2310 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: sentry
# Version required: 0.90
# Date created: 3 January 1998
# Whom: chris@still.whet.org
#
# $Id: Makefile,v 1.3 1999/04/19 19:49:32 mharo Exp $
#
DISTNAME= portsentry-0.90
CATEGORIES= security
MASTER_SITES= http://www.psionic.com/tools/
MAINTAINER= chris@still.whet.org
ALL_TARGET= freebsd
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
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/portsentry
${INSTALL_DATA} ${WRKSRC}/README.install ${WRKSRC}/README.methods \
${PREFIX}/share/doc/portsentry
.endif
@${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>
|