2013-05-10 13:28:32 +02:00
|
|
|
# Created by: Bartlomiej Rutkowski <r@robakdesign.com>
|
2006-11-23 13:02:29 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pftabled
|
2010-11-25 12:58:25 +01:00
|
|
|
PORTVERSION= 1.09
|
2014-06-20 18:22:57 +02:00
|
|
|
PORTREVISION= 1
|
2006-11-23 13:02:29 +01:00
|
|
|
CATEGORIES= net-mgmt
|
|
|
|
MASTER_SITES= http://www.wolfermann.org/
|
|
|
|
|
2014-08-10 15:04:34 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-11-23 13:02:29 +01:00
|
|
|
COMMENT= The pftabled is a tool to manage your pf tables remotely
|
|
|
|
|
|
|
|
USE_RC_SUBR= pftabled
|
|
|
|
|
2014-06-20 18:22:57 +02:00
|
|
|
PLIST_FILES= bin/pftabled-client man/man1/pftabled.1.gz sbin/pftabled
|
2006-11-23 13:02:29 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2014-06-20 18:22:57 +02:00
|
|
|
USES= gmake shebangfix
|
|
|
|
SHEBANG_FILES= pftabled-client.pl
|
2006-11-23 13:02:29 +01:00
|
|
|
|
2013-05-10 13:28:32 +02:00
|
|
|
OPTIONS_DEFINE= PERLC PYTHONC
|
|
|
|
OPTIONS_DEFAULT= PERLC PYTHONC
|
|
|
|
PERLC_DESC= A Sample Perl Client
|
|
|
|
PYTHONC_DESC= A Sample Python Client
|
2009-03-02 03:47:39 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2013-05-10 13:28:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MPERLC}
|
2010-11-25 12:58:25 +01:00
|
|
|
PLIST_FILES+= bin/pftabled-client.pl
|
|
|
|
.endif
|
2009-03-02 03:47:39 +01:00
|
|
|
|
2013-05-10 13:28:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MPYTHONC}
|
2010-11-25 12:58:25 +01:00
|
|
|
PLIST_FILES+= bin/pftabled-client.py
|
2009-03-02 03:47:39 +01:00
|
|
|
.endif
|
|
|
|
|
2010-11-25 12:58:25 +01:00
|
|
|
post-install:
|
2013-05-10 13:28:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MPERLC}
|
2014-06-20 18:22:57 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.pl ${STAGEDIR}${PREFIX}/bin/
|
2010-11-25 12:58:25 +01:00
|
|
|
.endif
|
2013-05-10 13:28:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MPYTHONC}
|
2014-06-20 18:22:57 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.py ${STAGEDIR}${PREFIX}/bin/
|
2010-11-25 12:58:25 +01:00
|
|
|
.endif
|
|
|
|
|
2009-03-02 03:47:39 +01:00
|
|
|
.include <bsd.port.post.mk>
|