1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 1.09

- Adjust options: add new option PYTHONC for python client

Changes:
- Add sample PHP client.
- Use mandoc manual formatter if available.

PR:		ports/152286
Submitted by:	Chifeng Qu <chifeng@gmail.com> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2010-11-25 11:58:25 +00:00
parent c7a39435e1
commit 91100f0fb3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265135
2 changed files with 17 additions and 11 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= pftabled
PORTVERSION= 1.08
PORTREVISION= 1
PORTVERSION= 1.09
CATEGORIES= net-mgmt
MASTER_SITES= http://www.wolfermann.org/
@ -22,7 +21,8 @@ PLIST_FILES= bin/pftabled-client sbin/pftabled
GNU_CONFIGURE= yes
USE_GMAKE= yes
OPTIONS= PERLC "A Sample Perl Client" On
OPTIONS= PERLC "A Sample Perl Client" on \
PYTHONC "A Sample Python Client" on
.include <bsd.port.pre.mk>
@ -30,15 +30,22 @@ OPTIONS= PERLC "A Sample Perl Client" On
. if ${PERL_LEVEL} < 500703
RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
. endif
PLIST_FILES+= bin/pftabled-client.pl bin/pftabled-client.py
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.pl ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.py ${PREFIX}/bin
PLIST_FILES+= bin/pftabled-client.pl
.endif
.if !defined(WITHOUT_PYTHONC)
PLIST_FILES+= bin/pftabled-client.py
.endif
post-patch:
@${REINPLACE_CMD} -e 's|cat1/pftabled.0|man1/pftabled.0|' ${WRKSRC}/Makefile.in
post-install:
.if !defined(WITHOUT_PERLC)
${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.pl ${PREFIX}/bin/
.endif
.if !defined(WITHOUT_PYTHONC)
${INSTALL_SCRIPT} ${WRKSRC}/pftabled-client.py ${PREFIX}/bin/
.endif
.include <bsd.port.post.mk>

View File

@ -1,3 +1,2 @@
MD5 (pftabled-1.08.tar.gz) = 5788cd147f2bc785eacc565e3e8302d4
SHA256 (pftabled-1.08.tar.gz) = f3a5dc27945d7d2f86845a29b3c91ff8f20b3297c67d289f8e97c1b871e2fe0d
SIZE (pftabled-1.08.tar.gz) = 51637
SHA256 (pftabled-1.09.tar.gz) = 5cc3febd6439c176172bb8ca543677866d8e3d8c24bed763af9cef34f59588cd
SIZE (pftabled-1.09.tar.gz) = 52144