aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2021-01-01 16:36:05 +0000
committerRene Ladan <rene@FreeBSD.org>2021-01-01 16:36:05 +0000
commite9b069895ebc7bebaef1da05af2816de772388d1 (patch)
treeb6de499474ec88fbb1242d590284aed0013f4c8c
parenta991d863b02fa44a05b3f2c63491b2128d2d1c57 (diff)
downloadports-e9b069895ebc7bebaef1da05af2816de772388d1.tar.gz
ports-e9b069895ebc7bebaef1da05af2816de772388d1.zip
Notes
-rw-r--r--net-mgmt/flowd/Makefile12
-rw-r--r--net-mgmt/flowd/pkg-descr2
-rw-r--r--net-mgmt/flowd/pkg-plist2
3 files changed, 2 insertions, 14 deletions
diff --git a/net-mgmt/flowd/Makefile b/net-mgmt/flowd/Makefile
index 72ec4c27d5bd..e74165793b41 100644
--- a/net-mgmt/flowd/Makefile
+++ b/net-mgmt/flowd/Makefile
@@ -26,15 +26,12 @@ FLOWD_USER= _flowd
USERS= ${FLOWD_USER}
GROUPS= ${FLOWD_USER}
-OPTIONS_DEFINE= PERL PYTHON DOCS EXAMPLES
+OPTIONS_DEFINE= PERL DOCS EXAMPLES
OPTIONS_DEFAULT=PERL
OPTIONS_SUB= yes
PERL_DESC= Install flowd perl module
PERL_USES= perl5
-PYTHON_DESC= Install flowd Python support
-PYTHON_USES= python:2.7
-PYTHON_PLIST_SUB= PYTHON_VER=${PYTHON_VER}
post-patch:
@${REINPLACE_CMD} -e "s;%%FLOWD_USER%%;${FLOWD_USER};g" \
@@ -46,9 +43,6 @@ post-build-PERL-on:
DESTDIR=${STAGEDIR} PREFIX=${PREFIX} && \
${MAKE_CMD})
-post-build-PYTHON-on:
- ( cd ${WRKSRC} && ${PYTHON_CMD} setup.py build )
-
pre-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@@ -61,8 +55,4 @@ pre-install-PERL-on:
( cd ${WRKSRC}/Flowd-perl && ${MAKE_CMD} install )
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Flowd/Flowd.so
-pre-install-PYTHON-on:
- ( cd ${WRKSRC} && ${PYTHON_CMD} setup.py install --root "${STAGEDIR}" )
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/flowd.so
-
.include <bsd.port.mk>
diff --git a/net-mgmt/flowd/pkg-descr b/net-mgmt/flowd/pkg-descr
index 0d23fe901591..3c651d5c8aea 100644
--- a/net-mgmt/flowd/pkg-descr
+++ b/net-mgmt/flowd/pkg-descr
@@ -7,7 +7,7 @@ features:
* Supports filtering and tagging of flows, using a packet filter-like syntax
* Stores recorded flow data in a compact binary format which supports
run-time choice over which flow fields are stored
- * Ships with both Perl and Python interfaces for reading and parsing the
+ * Ships with Perl interface for reading and parsing the
on-disk record format
* Is licensed under a liberal BSD-like license
diff --git a/net-mgmt/flowd/pkg-plist b/net-mgmt/flowd/pkg-plist
index d1eccf10b45e..8a5765dede69 100644
--- a/net-mgmt/flowd/pkg-plist
+++ b/net-mgmt/flowd/pkg-plist
@@ -11,8 +11,6 @@ lib/libflowd.a
%%PERL%%%%PERL5_MAN3%%/Flowd.3.gz
%%PERL%%%%SITE_ARCH%%/Flowd.pm
%%PERL%%%%SITE_ARCH%%/auto/Flowd/Flowd.so
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/flowd-0.9.1-py%%PYTHON_VER%%.egg-info
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/flowd.so
man/man5/flowd.conf.5.gz
man/man8/flowd-reader.8.gz
man/man8/flowd.8.gz