Date: Thu, 3 Sep 2015 16:23:18 +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: r395987 - head/archivers/ruby-zip Message-ID: <201509031623.t83GNIIc033818@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> - -.if ${RUBY_VER} == 2.1 -BROKEN= Does not build with Ruby 2.1 -.endif -.include <bsd.port.post.mk> +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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509031623.t83GNIIc033818>