svn commit: r422199 - head/graphics/ruby-image_size
Steve Wills
swills at FreeBSD.org
Thu Sep 15 14:58:38 UTC 2016
Author: swills
Date: Thu Sep 15 14:58:36 2016
New Revision: 422199
URL: https://svnweb.freebsd.org/changeset/ports/422199
Log:
graphics/ruby-image_size: remove RUBY_RD_FILES
PR: 210665
Modified:
head/graphics/ruby-image_size/Makefile
head/graphics/ruby-image_size/pkg-plist
Modified: head/graphics/ruby-image_size/Makefile
==============================================================================
--- head/graphics/ruby-image_size/Makefile Thu Sep 15 14:38:02 2016 (r422198)
+++ head/graphics/ruby-image_size/Makefile Thu Sep 15 14:58:36 2016 (r422199)
@@ -3,6 +3,7 @@
PORTNAME= image_size
PORTVERSION= 0.0.20040618
+PORTREVISION= 1
CATEGORIES= graphics ruby
MASTER_SITES= http://www.rubycgi.org/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -19,26 +20,18 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
-RUBY_RD_FILES= readme.ja.rd readme.rd
-
-DOCS_EN= ${RUBY_RD_FILES:N*.ja.rd} \
- ${RUBY_RD_HTML_FILES:N*.ja.html}
-DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
- ${RUBY_RD_HTML_FILES:M*.ja.html}
-
OPTIONS_DEFINE= DOCS
+DOCS= readme.ja.rd readme.rd
+
do-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/
${INSTALL_DATA} ${WRKSRC}/lib/image_size.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
-post-install-DOCS-on::
- ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
-.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
-.endfor
-.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
+do-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}
.endfor
.include <bsd.port.mk>
Modified: head/graphics/ruby-image_size/pkg-plist
==============================================================================
--- head/graphics/ruby-image_size/pkg-plist Thu Sep 15 14:38:02 2016 (r422198)
+++ head/graphics/ruby-image_size/pkg-plist Thu Sep 15 14:58:36 2016 (r422199)
@@ -1,5 +1,3 @@
%%RUBY_SITELIBDIR%%/image_size.rb
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/readme.rd
-%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/readme.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/readme.ja.rd
-%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/ja/readme.ja.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/readme.ja.rd
More information about the svn-ports-head
mailing list