1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/net-mgmt/pftabled/Makefile
Muhammad Moinur Rahman 4651f24ce6
net-mgmt/pftabled: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-25 07:48:51 +01:00

41 lines
1015 B
Makefile

PORTNAME= pftabled
PORTVERSION= 1.09
PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= http://www.wolfermann.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to manage pf tables remotely
WWW= https://wolfermann.org/pftabled.html
LICENSE= BSD2CLAUSE
USES= gmake shebangfix
SHEBANG_FILES= pftabled-client.pl \
pftabled-client.py
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
USE_RC_SUBR= pftabled
PLIST_FILES= bin/pftabled-client share/man/man1/pftabled.1.gz sbin/pftabled
OPTIONS_DEFINE= PERLC PYTHONC
OPTIONS_DEFAULT=PERLC PYTHONC
PERLC_DESC= Install sample Perl client
PERLC_PLIST_FILES= bin/pftabled-client.pl
PERLC_USES= perl5
PERLC_USE= PERL5=run
PYTHONC_DESC= Install sample Python client
PYTHONC_PLIST_FILES= bin/pftabled-client.py
PYTHONC_USES= python:run
post-install-PERLC-on:
${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.pl ${STAGEDIR}${PREFIX}/bin/
post-install-PYTHONC-on:
${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.py ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>