diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2015-07-08 02:25:27 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2015-07-08 02:25:27 +0000 |
commit | 6d19c7ffe11ddff001ba618258be9c33162a73f4 (patch) | |
tree | 94e00384fd92797520e552709471bc374e3ab633 /net-mgmt/netmagis-metro | |
parent | 9ef8e11cbfa8e0127301a078864cc614dc410f40 (diff) | |
download | ports-6d19c7ffe11ddff001ba618258be9c33162a73f4.tar.gz ports-6d19c7ffe11ddff001ba618258be9c33162a73f4.zip |
Notes
Diffstat (limited to 'net-mgmt/netmagis-metro')
-rw-r--r-- | net-mgmt/netmagis-metro/Makefile | 11 | ||||
-rw-r--r-- | net-mgmt/netmagis-metro/pkg-plist | 33 |
2 files changed, 21 insertions, 23 deletions
diff --git a/net-mgmt/netmagis-metro/Makefile b/net-mgmt/netmagis-metro/Makefile index 3512091889e9..40328a25c735 100644 --- a/net-mgmt/netmagis-metro/Makefile +++ b/net-mgmt/netmagis-metro/Makefile @@ -6,8 +6,19 @@ PKGNAMESUFFIX= -metro COMMENT= Netmagis metrology module +RUN_DEPENDS+= netmagis-config:${PORTSDIR}/net-mgmt/netmagis-common \ + p5-DBD-Pg>0:${PORTSDIR}/databases/p5-DBD-Pg \ + p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \ + p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ + p5-RRDTool-OO>=0:${PORTSDIR}/devel/p5-RRDTool-OO + +USES= perl5 shebangfix +SHEBANG_FILES= metro/bin/metrocreatedb metro/bin/metropoller metro/bin/metropoller-run metro/ws/gengraph + MASTERDIR= ${.CURDIR}/../netmagis-common +NO_ARCH= yes + PKGMESSAGE= ${.CURDIR}/pkg-message PLIST= ${.CURDIR}/pkg-plist diff --git a/net-mgmt/netmagis-metro/pkg-plist b/net-mgmt/netmagis-metro/pkg-plist index 3590ea4ac745..1543d1fc1024 100644 --- a/net-mgmt/netmagis-metro/pkg-plist +++ b/net-mgmt/netmagis-metro/pkg-plist @@ -22,26 +22,13 @@ lib/netmagis/probes/sensor-stp-catalyst.pl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/apache-metro.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/crontab.metro www/metro/gengraph -@dirrm www/metro -@dirrmtry var/netmagis/metro/wifi -@dirrmtry var/netmagis/metro/spool -@dirrmtry var/netmagis/metro/report -@dirrmtry var/netmagis/metro/log -@dirrmtry var/netmagis/metro/lock -@dirrmtry var/netmagis/metro/graph -@dirrmtry var/netmagis/metro/db -@dirrmtry var/netmagis/metro/cache -@dirrmtry var/netmagis/metro -@dirrmtry var/netmagis -@dirrmtry var -%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% -@dirrm lib/netmagis/probes -@dirrm lib/netmagis/plugins -@exec mkdir -p %D/var/netmagis/metro/wifi -@exec mkdir -p %D/var/netmagis/metro/spool -@exec mkdir -p %D/var/netmagis/metro/report -@exec mkdir -p %D/var/netmagis/metro/log -@exec mkdir -p %D/var/netmagis/metro/lock -@exec mkdir -p %D/var/netmagis/metro/graph -@exec mkdir -p %D/var/netmagis/metro/db -@exec mkdir -p %D/var/netmagis/metro/cache +@dir /var/netmagis/metro/wifi +@dir /var/netmagis/metro/spool +@dir /var/netmagis/metro/report +@dir /var/netmagis/metro/log +@dir /var/netmagis/metro/lock +@dir /var/netmagis/metro/graph +@dir /var/netmagis/metro/db +@dir /var/netmagis/metro/cache +@dir /var/netmagis/metro +@dir /var/netmagis |