2006-11-23 13:02:29 +01:00
|
|
|
# New ports collection makefile for: pftabled
|
|
|
|
# Date created: 2006-11-21
|
|
|
|
# Whom: Bartlomiej Rutkowski <r@robakdesign.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pftabled
|
2009-02-19 21:20:43 +01:00
|
|
|
PORTVERSION= 1.07
|
2009-03-02 03:47:39 +01:00
|
|
|
PORTREVISION= 1
|
2006-11-23 13:02:29 +01:00
|
|
|
CATEGORIES= net-mgmt
|
|
|
|
MASTER_SITES= http://www.wolfermann.org/
|
|
|
|
|
2009-02-18 15:49:28 +01:00
|
|
|
MAINTAINER= chifeng@gmail.com
|
2006-11-23 13:02:29 +01:00
|
|
|
COMMENT= The pftabled is a tool to manage your pf tables remotely
|
|
|
|
|
|
|
|
USE_RC_SUBR= pftabled
|
|
|
|
MAN1= pftabled.0
|
|
|
|
|
|
|
|
PLIST_FILES= bin/pftabled-client sbin/pftabled
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2009-03-02 03:47:39 +01:00
|
|
|
OPTIONS= PERLC "A Sample Perl Client" On
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_PERLC)
|
|
|
|
RUN_DEPEND= p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5
|
|
|
|
PLIST_FILES+= bin/pftabled-client.pl
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.pl ${PREFIX}/bin
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
2009-02-19 21:20:43 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|cat1/pftabled.0|man1/pftabled.0|' ${WRKSRC}/Makefile.in
|
|
|
|
|
2009-03-02 03:47:39 +01:00
|
|
|
.include <bsd.port.post.mk>
|