From 4a3329adb1fe8a7b4f8a80f1dfe8f0d406109c91 Mon Sep 17 00:00:00 2001 From: jgh Date: Thu, 21 Mar 2013 00:19:00 +0000 Subject: - adopt optionsNG - trim historical header Approved by: portmgr (miwi) --- textproc/rubygem-multi_xml/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'textproc') 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 -# +# Created by: Cheng-Lung Sung # $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 +.include -.if defined(WITH_NOKOGIRI) +.if ${PORT_OPTIONS:MNOKOGIRI} RUN_DEPENDS+= rubygem-nokogiri>=0:${PORTSDIR}/textproc/rubygem-nokogiri .endif -.include +.include -- cgit