aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/mrtg
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2023-05-26 18:12:01 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2023-05-26 18:12:01 +0000
commitfe2317c01af4ef0138a6000c58c3163b0840503c (patch)
tree1c08aceeab5b02e773b924137c81e52e42ca7ef3 /net-mgmt/mrtg
parente5fbd07a7c2e23101085c81486a3152665c0f2c7 (diff)
downloadports-fe2317c01af4ef0138a6000c58c3163b0840503c.tar.gz
ports-fe2317c01af4ef0138a6000c58c3163b0840503c.zip
net-mgmt/mrtg: fix support for GD_PORT
take maintainership
Diffstat (limited to 'net-mgmt/mrtg')
-rw-r--r--net-mgmt/mrtg/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
index c26e60cbec53..372dc96f42b3 100644
--- a/net-mgmt/mrtg/Makefile
+++ b/net-mgmt/mrtg/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mrtg
PORTVERSION= 2.17.10
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://oss.oetiker.ch/mrtg/pub/ \
@@ -7,18 +8,21 @@ MASTER_SITES= http://oss.oetiker.ch/mrtg/pub/ \
ftp://ftp.nstu.ru/pub/sources/nettools/monitoring/ \
ftp://ftp.chg.ru/pub/networking/monitoring/mrtg/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= dinoex@FreeBSD.org
COMMENT= Multi-router traffic grapher
WWW= https://oss.oetiker.ch/mrtg/
LICENSE= GPLv2
-LIB_DEPENDS= libgd.so:graphics/gd \
+LIB_DEPENDS= libgd.so:${GD_PORT} \
libpng16.so:graphics/png
RUN_DEPENDS= p5-SNMP_Session>=0:net-mgmt/p5-SNMP_Session
USES= perl5 shebangfix
+# override with languages specific gd fonts
+GD_PORT?= graphics/gd
+
CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
--with-gd-inc=${LOCALBASE}/include