aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-12-28 14:38:13 +0800
committerdinoex <dinoex@FreeBSD.org>2013-12-28 14:38:13 +0800
commit5946e655186e6160e09d8782604dbf99d177ed6b (patch)
treea8d2d0ad0a522546561ef947f496a4422fdac904 /irc
parentb955cfb8647d8a591cb6afd8e0ab0d98c563724f (diff)
downloadfreebsd-ports-gnome-5946e655186e6160e09d8782604dbf99d177ed6b.tar.gz
freebsd-ports-gnome-5946e655186e6160e09d8782604dbf99d177ed6b.tar.zst
freebsd-ports-gnome-5946e655186e6160e09d8782604dbf99d177ed6b.zip
- use OPT_CONFIGURE_*
Diffstat (limited to 'irc')
-rw-r--r--irc/iroffer-dinoex/Makefile28
1 files changed, 9 insertions, 19 deletions
diff --git a/irc/iroffer-dinoex/Makefile b/irc/iroffer-dinoex/Makefile
index 1e7f6adbbc83..a6153474cfaf 100644
--- a/irc/iroffer-dinoex/Makefile
+++ b/irc/iroffer-dinoex/Makefile
@@ -42,26 +42,16 @@ IROFFER_HTDOCS= iroffer-state.css robots.txt \
OPTIONS_DEFINE= CURL RUBY UPNP GEOIP
OPTIONS_DEFAULT=CURL RUBY UPNP GEOIP
-.include <bsd.port.options.mk>
+CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
+CURL_CONFIGURE_ON= -curl
+RUBY_USE= RUBY=yes LIBRUBY=yes
+RUBY_CONFIGURE_ON= -ruby
+UPNP_LIB_DEPENDS= libminiupnpc.so:${PORTSDIR}/net/miniupnpc
+UPNP_CONFIGURE_ON= -upnp
+GEOIP_LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP
+GEOIP_CONFIGURE_ON= -geoip
-.if ${PORT_OPTIONS:MCURL}
-LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl
-CONFIGURE_ARGS+= -curl
-.endif
-.if ${PORT_OPTIONS:MGEOIP}
-LIB_DEPENDS+= GeoIP:${PORTSDIR}/net/GeoIP
-CONFIGURE_ARGS+= -geoip
-.endif
-.if ${PORT_OPTIONS:MUPNP}
-LIB_DEPENDS+= miniupnpc:${PORTSDIR}/net/miniupnpc
-CONFIGURE_ARGS+= -upnp
-.endif
-.if ${PORT_OPTIONS:MRUBY}
-USE_RUBY= yes
-USE_LIBRUBY= yes
-CONFIGURE_ARGS+= -ruby
-.include "${PORTSDIR}/Mk/bsd.ruby.mk"
-.endif
+.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${STAGEDIR}${PREFIX}/bin/