diff options
author | jgh <jgh@FreeBSD.org> | 2013-03-21 08:19:00 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-03-21 08:19:00 +0800 |
commit | 4a3329adb1fe8a7b4f8a80f1dfe8f0d406109c91 (patch) | |
tree | ce784dca23e0d97b1027685f5e40519a7243479b | |
parent | aca2749bd5d9be0797451af62cce3eb43a1e02c4 (diff) | |
download | freebsd-ports-gnome-4a3329adb1fe8a7b4f8a80f1dfe8f0d406109c91.tar.gz freebsd-ports-gnome-4a3329adb1fe8a7b4f8a80f1dfe8f0d406109c91.tar.zst freebsd-ports-gnome-4a3329adb1fe8a7b4f8a80f1dfe8f0d406109c91.zip |
- adopt optionsNG
- trim historical header
Approved by: portmgr (miwi)
-rw-r--r-- | textproc/rubygem-multi_xml/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/textproc/rubygem-multi_xml/Makefile b/textproc/rubygem-multi_xml/Makefile index fa6420458407..0e501c4bd6c5 100644 --- a/textproc/rubygem-multi_xml/Makefile +++ b/textproc/rubygem-multi_xml/Makefile @@ -1,7 +1,4 @@ -# Ports collection makefile for: rubygem-multi_xml -# Date created: 4 March 2011 -# Whom: Cheng-Lung Sung <clsung@FreeBSD.org> -# +# Created by: Cheng-Lung Sung <clsung@FreeBSD.org> # $FreeBSD$ PORTNAME= multi_xml @@ -12,16 +9,17 @@ MASTER_SITES= RG MAINTAINER= clsung@FreeBSD.org COMMENT= Ruby library provide swappable XML backends -OPTIONS= NOKOGIRI "Nokogiri is a HTML, XML, SAX, and Reader parser" off +OPTIONS_DEFINE= NOKOGIRI +NOKOGIRI_DESC= Nokogiri is a HTML, XML, SAX, and Reader parser USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_NOKOGIRI) +.if ${PORT_OPTIONS:MNOKOGIRI} RUN_DEPENDS+= rubygem-nokogiri>=0:${PORTSDIR}/textproc/rubygem-nokogiri .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |