1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/security/portsentry/Makefile
Satoshi Asami 7acef1cd7a Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
2000-10-08 10:23:48 +00:00

36 lines
1002 B
Makefile

# New ports collection makefile for: sentry
# Date created: 3 January 1998
# Whom: chris@still.whet.org
#
# $FreeBSD$
#
PORTNAME= portsentry
PORTVERSION= 1.0
CATEGORIES= security
MASTER_SITES= http://www.psionic.com/tools/
MAINTAINER= dan@freebsddiary.org
ALL_TARGET= freebsd
post-patch:
@${PERL} -pi -e 's,__PREFIX__,${PREFIX},g' ${WRKSRC}/portsentry.conf
@${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 ${WRKSRC}/README.stealth \
${PREFIX}/share/doc/portsentry
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>