svn commit: r337839 - head/irc/iroffer-dinoex
Dirk Meyer
dinoex at FreeBSD.org
Sat Dec 28 06:38:13 UTC 2013
Author: dinoex
Date: Sat Dec 28 06:38:13 2013
New Revision: 337839
URL: http://svnweb.freebsd.org/changeset/ports/337839
Log:
- use OPT_CONFIGURE_*
Modified:
head/irc/iroffer-dinoex/Makefile
Modified: head/irc/iroffer-dinoex/Makefile
==============================================================================
--- head/irc/iroffer-dinoex/Makefile Sat Dec 28 06:37:48 2013 (r337838)
+++ head/irc/iroffer-dinoex/Makefile Sat Dec 28 06:38:13 2013 (r337839)
@@ -42,26 +42,16 @@ IROFFER_HTDOCS= iroffer-state.css robots
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/
More information about the svn-ports-all
mailing list