diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2012-01-01 21:08:52 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2012-01-01 21:08:52 +0000 |
commit | 34876c3b4647aa11d554990ee029e0fc0192b338 (patch) | |
tree | bdd6f8b4c4b8b07885d65020bad99c2b247d3fd7 /net-mgmt/netdisco | |
parent | - disable mod_perl which is gone together with apache13 (diff) |
- remove support for apache version < 20 (mod_perl)
- sort dependency
with hat apache@
Notes
Notes:
svn path=/head/; revision=288383
Diffstat (limited to 'net-mgmt/netdisco')
-rw-r--r-- | net-mgmt/netdisco/Makefile | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/net-mgmt/netdisco/Makefile b/net-mgmt/netdisco/Makefile index 7e8c51708d36..93bff53e05f4 100644 --- a/net-mgmt/netdisco/Makefile +++ b/net-mgmt/netdisco/Makefile @@ -15,14 +15,17 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}_with_mibs MAINTAINER= venture37@geeklan.co.uk COMMENT= Web-based network management tool for moderate to large networks -RUN_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP \ - ${SITE_PERL}/SNMP/Info.pm:${PORTSDIR}/net-mgmt/p5-SNMP-Info \ - ${SITE_PERL}/HTML/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \ - ${SITE_PERL}/DB_File/Lock.pm:${PORTSDIR}/devel/p5-DB_File-Lock \ - ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \ - ${SITE_PERL}/Net/NBName.pm:${PORTSDIR}/net/p5-Net-NBName \ - ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg \ - ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \ +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 \ + ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI-mp2 \ + ${SITE_PERL}/${PERL_ARCH}/APR/Request/Apache2.pm:${PORTSDIR}/www/p5-libapreq2 \ + ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP \ + ${SITE_PERL}/SNMP/Info.pm:${PORTSDIR}/net-mgmt/p5-SNMP-Info \ + ${SITE_PERL}/HTML/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \ + ${SITE_PERL}/DB_File/Lock.pm:${PORTSDIR}/devel/p5-DB_File-Lock \ + ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \ + ${SITE_PERL}/Net/NBName.pm:${PORTSDIR}/net/p5-Net-NBName \ + ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg \ + ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \ ${SITE_PERL}/MasonX/Request/WithApacheSession.pm:${PORTSDIR}/www/p5-MasonX-Request-WithApacheSession OPTIONS= GRAPHVIZ "Install GraphViz for network map support" on @@ -63,17 +66,6 @@ RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress .endif -.if ${APACHE_VERSION} >= 20 -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 \ - ${SITE_PERL}/${PERL_ARCH}/APR/Request/Apache2.pm:${PORTSDIR}/www/p5-libapreq2 \ - ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI-mp2 -.else -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \ - ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \ - ${SITE_PERL}/${PERL_ARCH}/Apache/Test.pm:${PORTSDIR}/www/p5-Apache-Test \ - ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI-mp1 -.endif - .if defined(WITH_GRAPHVIZ) RUN_DEPENDS+= ${SITE_PERL}/Graph.pm:${PORTSDIR}/math/p5-Graph \ ${SITE_PERL}/GraphViz.pm:${PORTSDIR}/graphics/p5-GraphViz |