1# Created by: Joe Barbish <fbsd_user@a1poweruser.com> 2 3PORTNAME= ipfilter2dshield 4PORTVERSION= 1.0 5PORTREVISION= 3 6CATEGORIES= security 7MASTER_SITES= http://www.dshield.org/clients/ 8DISTNAME= dshield-freebsd.pl 9EXTRACT_SUFX= .txt 10 11MAINTAINER= ports@MidnightBSD.org 12COMMENT= Official DShield client for ipfilter firewall logs 13 14LICENSE= publicdom 15 16RUN_DEPENDS= p5-Net-Netmask>=0:net-mgmt/p5-Net-Netmask 17 18USES= perl5 shebangfix 19SHEBANG_FILES= ${DISTNAME} 20 21SUB_FILES= pkg-message 22SUB_LIST= DISTNAME=${DISTNAME} 23 24NO_BUILD= yes 25NO_ARCH= yes 26NO_WRKSUBDIR= yes 27 28do-extract: 29 @${MKDIR} ${WRKSRC} 30 ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${DISTNAME} 31 32do-install: 33 @${MKDIR} ${ETCDIR} 34 ${INSTALL_DATA} ${WRKSRC}/${DISTNAME} \ 35 ${ETCDIR}/${DISTNAME}.sample 36 ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/sbin/${DISTNAME} 37 38.include <bsd.port.mk> 39