diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-11-21 02:10:00 +0000 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-11-21 02:10:00 +0000 |
commit | fd5fd7cfbb00090491b816f462422a485258360b (patch) | |
tree | 4b29c540066a504547b86b1e0fe5485480a796e1 | |
parent | 7c2f16a367d2b909728fa2ddb2b559ffb086caac (diff) | |
download | FreeBSD-ports-fd5fd7cfbb00090491b816f462422a485258360b.zip FreeBSD-ports-fd5fd7cfbb00090491b816f462422a485258360b.tar.gz |
- Add NO_ARCH
- Convert to new options helper
Approved by: portmgr (blanket)
-rw-r--r-- | net-mgmt/smokeping/Makefile | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile index 992568f..de0476d 100644 --- a/net-mgmt/smokeping/Makefile +++ b/net-mgmt/smokeping/Makefile @@ -31,6 +31,7 @@ BUILD_DEPENDS= p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session \ p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap RUN_DEPENDS:= ${BUILD_DEPENDS} +NO_ARCH= yes USES= gmake perl5 GNU_CONFIGURE= yes CONFIGURE_ENV+= PERL=${PERL} PERL5LIB=${PREFIX}/smokeping/lib @@ -62,31 +63,12 @@ DNS_DESC= Support for AnotherDNS probes OPTIONS_DEFINE= ECHOPING CURL RADIUS TELNET DNS FPING OPTIONS_DEFAULT= FPING -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MFPING} -RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping -.endif - -.if ${PORT_OPTIONS:MECHOPING} -RUN_DEPENDS+= ${LOCALBASE}/bin/echoping:${PORTSDIR}/net/echoping -.endif - -.if ${PORT_OPTIONS:MCURL} -RUN_DEPENDS+= ${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl -.endif - -.if ${PORT_OPTIONS:MRADIUS} -RUN_DEPENDS+= p5-Authen-Radius>=0:${PORTSDIR}/security/p5-Authen-Radius -.endif - -.if ${PORT_OPTIONS:MTELNET} -RUN_DEPENDS+= p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet -.endif - -.if ${PORT_OPTIONS:MDNS} -RUN_DEPENDS+= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS -.endif +FPING_RUN_DEPENDS= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping +ECHOPING_RUN_DEPENDS= ${LOCALBASE}/bin/echoping:${PORTSDIR}/net/echoping +CURL_RUN_DEPENDS= ${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl +RADIUS_RUN_DEPENDS= p5-Authen-Radius>=0:${PORTSDIR}/security/p5-Authen-Radius +TELNET_RUN_DEPENDS= p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet +DNS_RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS .include <bsd.port.pre.mk> |