Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2016 15:08:26 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422203 - head/textproc/ruby-sary
Message-ID:  <201609151508.u8FF8QD6027024@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Sep 15 15:08:26 2016
New Revision: 422203
URL: https://svnweb.freebsd.org/changeset/ports/422203

Log:
  textproc/ruby-sary: remove RUBY_RD_FILES
  
  PR:		210665

Modified:
  head/textproc/ruby-sary/Makefile
  head/textproc/ruby-sary/pkg-plist

Modified: head/textproc/ruby-sary/Makefile
==============================================================================
--- head/textproc/ruby-sary/Makefile	Thu Sep 15 15:06:50 2016	(r422202)
+++ head/textproc/ruby-sary/Makefile	Thu Sep 15 15:08:26 2016	(r422203)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sary
 PORTVERSION=	1.2.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	textproc ruby
 MASTER_SITES=	http://sary.sourceforge.net/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
@@ -28,21 +28,14 @@ USE_RUBY=	yes
 USE_RUBY_EXTCONF=	yes
 USES=		pkgconfig
 
-RUBY_RD_FILES=	*.en.rd *.ja.rd
-
-DOCS_EN=	ChangeLog \
-		${RUBY_RD_FILES:M*.en.rd} \
-		${RUBY_RD_HTML_FILES:M*.en.html}
-DOCS_JA=	${RUBY_RD_FILES:M*.ja.rd} \
-		${RUBY_RD_HTML_FILES:M*.ja.html}
+DOCS=	ChangeLog  *.en.rd *.ja.rd
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR:C/^${LOCALBASE}/${PREFIX}/}/sary.so
 	${INSTALL_SCRIPT} ${WRKSRC}/rsary.rb ${STAGEDIR}${PREFIX}/bin/
 
-post-install-DOCS-on:
-	${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_EN} ${STAGEDIR}${RUBY_MODDOCDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_JA} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
+do-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/
 
 .include <bsd.port.mk>

Modified: head/textproc/ruby-sary/pkg-plist
==============================================================================
--- head/textproc/ruby-sary/pkg-plist	Thu Sep 15 15:06:50 2016	(r422202)
+++ head/textproc/ruby-sary/pkg-plist	Thu Sep 15 15:08:26 2016	(r422203)
@@ -1,11 +1,7 @@
 bin/rsary.rb
 %%RUBY_SITEARCHLIBDIR%%/sary.so
 %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
-%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/README.en.html
 %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en.rd
-%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/Reference.en.html
 %%PORTDOCS%%%%RUBY_MODDOCDIR%%/Reference.en.rd
-%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/ja/README.ja.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja.rd
-%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/ja/Reference.ja.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/Reference.ja.rd
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.ja.rd
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Reference.ja.rd



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