Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2015 16:25:03 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396009 - in head/textproc: . ruby-xml-configfile ruby-xmlconfigfile
Message-ID:  <201509031625.t83GP3FN036252@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Sep  3 16:25:03 2015
New Revision: 396009
URL: https://svnweb.freebsd.org/changeset/ports/396009

Log:
  - Move textproc/ruby-xmlconfigfile to textproc/ruby-xml-configfile
  - Add LICENSE
  - Convert to new options target helper
  - Add NO_ARCH
  - Use BROKEN_RUBY22
  - Adjust DOCS
  - Bump PORTREVISION for package change
  - Pass maintainership to ruby@

Added:
  head/textproc/ruby-xml-configfile/
     - copied from r395820, head/textproc/ruby-xmlconfigfile/
Deleted:
  head/textproc/ruby-xmlconfigfile/
Modified:
  head/textproc/Makefile
  head/textproc/ruby-xml-configfile/Makefile
  head/textproc/ruby-xml-configfile/pkg-plist

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Thu Sep  3 16:24:57 2015	(r396008)
+++ head/textproc/Makefile	Thu Sep  3 16:25:03 2015	(r396009)
@@ -1342,7 +1342,7 @@
     SUBDIR += ruby-rss.alt
     SUBDIR += ruby-rttool
     SUBDIR += ruby-sary
-    SUBDIR += ruby-xmlconfigfile
+    SUBDIR += ruby-xml-configfile
     SUBDIR += ruby-xmlparser
     SUBDIR += ruby-xmlscan
     SUBDIR += rubygem-albino

Modified: head/textproc/ruby-xml-configfile/Makefile
==============================================================================
--- head/textproc/ruby-xmlconfigfile/Makefile	Wed Sep  2 04:22:41 2015	(r395820)
+++ head/textproc/ruby-xml-configfile/Makefile	Thu Sep  3 16:25:03 2015	(r396009)
@@ -1,35 +1,33 @@
 # Created by: Akinori MUSHA aka knu <knu@idaemons.org>
 # $FreeBSD$
 
-PORTNAME=	xmlconfigfile
+PORTNAME=	xml-configfile
 PORTVERSION=	0.9.7
+PORTREVISION=	1
 CATEGORIES=	textproc devel ruby
-MASTER_SITES=	http://www.cs.ualberta.ca/~schofiel/xml-configfile/downloads/
+MASTER_SITES=	http://www.cs.ualberta.ca/~schofiel/${PORTNAME}/downloads/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
-DISTNAME=	xml-configfile-${PORTVERSION}
 DIST_SUBDIR=	ruby
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	ruby@FreeBSD.org
 COMMENT=	Ruby module for easy handling of XML configuration files
 
+LICENSE=	GPLv2 RUBY
+LICENSE_COMB=	dual
+
+BROKEN_RUBY22=	yes
+
 OPTIONS_DEFINE=	DOCS
 
+NO_ARCH=	yes
 USE_RUBY=	yes
 USE_RUBY_SETUP=	yes
 RUBY_SETUP=	install.rb
 
-DOCS=		docs CHANGES README TODO
-
-post-install:
-	@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
-.for f in ${DOCS}
-	${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
-.endfor
-
-.include <bsd.port.pre.mk>
+DOCS=		CHANGES README TODO docs/index.html
 
-.if ${RUBY_VER} >= 2.2
-BROKEN=		Does not build
-.endif
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/textproc/ruby-xml-configfile/pkg-plist
==============================================================================
--- head/textproc/ruby-xmlconfigfile/pkg-plist	Wed Sep  2 04:22:41 2015	(r395820)
+++ head/textproc/ruby-xml-configfile/pkg-plist	Thu Sep  3 16:25:03 2015	(r396009)
@@ -2,4 +2,4 @@
 %%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES
 %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
 %%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/docs/index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html



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