Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2013 06:38:13 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337839 - head/irc/iroffer-dinoex
Message-ID:  <201312280638.rBS6cDlh070617@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312280638.rBS6cDlh070617>