From owner-svn-ports-head@freebsd.org Thu Sep 3 16:23:19 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55B1A9C8B41; Thu, 3 Sep 2015 16:23:19 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46476E25; Thu, 3 Sep 2015 16:23:19 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t83GNJFG033820; Thu, 3 Sep 2015 16:23:19 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t83GNIIc033818; Thu, 3 Sep 2015 16:23:18 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201509031623.t83GNIIc033818@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 3 Sep 2015 16:23:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395987 - head/archivers/ruby-zip X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 16:23:19 -0000 Author: sunpoet Date: Thu Sep 3 16:23:18 2015 New Revision: 395987 URL: https://svnweb.freebsd.org/changeset/ports/395987 Log: - Add LICENSE - Respect PORTEXAMPLES - Convert to new options target helper - Use BROKEN_RUBY21 and BROKEN_RUBY22 - Use USES=tar:tgz - Sort PLIST Modified: head/archivers/ruby-zip/Makefile head/archivers/ruby-zip/pkg-plist Modified: head/archivers/ruby-zip/Makefile ============================================================================== --- head/archivers/ruby-zip/Makefile Thu Sep 3 16:23:13 2015 (r395986) +++ head/archivers/ruby-zip/Makefile Thu Sep 3 16:23:18 2015 (r395987) @@ -7,38 +7,36 @@ CATEGORIES= archivers ruby MASTER_SITES= SF/ruby${PORTNAME}/ruby${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby${PORTNAME}-${PORTVERSION} -EXTRACT_SUFX= .tgz DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby module for reading and writing ZIP files -USE_RUBY= yes +LICENSE= BSD2CLAUSE RUBY +LICENSE_COMB= dual + +BROKEN_RUBY21= yes +BROKEN_RUBY22= yes + +OPTIONS_DEFINE= DOCS EXAMPLES -WRKSRC= ${WRKDIR}/rubyzip-${PORTVERSION} NO_BUILD= yes +USE_RUBY= yes +USES= tar:tgz +WRKSRC= ${WRKDIR}/rubyzip-${PORTVERSION} DOCS= ChangeLog NEWS README TODO -EXAMPLES= samples/* - -OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/zip ${INSTALL_DATA} ${WRKSRC}/lib/zip/*.rb ${STAGEDIR}${RUBY_SITELIBDIR}/zip - ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} -.for f in ${EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ -.endfor - ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} -.for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ -.endfor - -.include - -.if ${RUBY_VER} == 2.1 -BROKEN= Does not build with Ruby 2.1 -.endif -.include +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/ + +do-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ + +.include Modified: head/archivers/ruby-zip/pkg-plist ============================================================================== --- head/archivers/ruby-zip/pkg-plist Thu Sep 3 16:23:13 2015 (r395986) +++ head/archivers/ruby-zip/pkg-plist Thu Sep 3 16:23:18 2015 (r395987) @@ -4,13 +4,13 @@ %%RUBY_SITELIBDIR%%/zip/zip.rb %%RUBY_SITELIBDIR%%/zip/zipfilesystem.rb %%RUBY_SITELIBDIR%%/zip/ziprequire.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example_filesystem.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtkRubyzip.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/write_simple.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/zipfind.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/qtzip.rb %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog %%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README %%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/example.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/example_filesystem.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gtkRubyzip.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/qtzip.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/write_simple.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/zipfind.rb