svn commit: r314787 - head/textproc/rubygem-multi_xml
Jason Helfman
jgh at FreeBSD.org
Thu Mar 21 00:19:00 UTC 2013
Author: jgh
Date: Thu Mar 21 00:19:00 2013
New Revision: 314787
URL: http://svnweb.freebsd.org/changeset/ports/314787
Log:
- adopt optionsNG
- trim historical header
Approved by: portmgr (miwi)
Modified:
head/textproc/rubygem-multi_xml/Makefile
Modified: head/textproc/rubygem-multi_xml/Makefile
==============================================================================
--- head/textproc/rubygem-multi_xml/Makefile Thu Mar 21 00:17:50 2013 (r314786)
+++ head/textproc/rubygem-multi_xml/Makefile Thu Mar 21 00:19:00 2013 (r314787)
@@ -1,7 +1,4 @@
-# Ports collection makefile for: rubygem-multi_xml
-# Date created: 4 March 2011
-# Whom: Cheng-Lung Sung <clsung at FreeBSD.org>
-#
+# Created by: Cheng-Lung Sung <clsung at FreeBSD.org>
# $FreeBSD$
PORTNAME= multi_xml
@@ -12,16 +9,17 @@ MASTER_SITES= RG
MAINTAINER= clsung at 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>
More information about the svn-ports-all
mailing list