Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2015 16:24:58 +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: r396008 - head/textproc/ruby-sary
Message-ID:  <201509031624.t83GOwfk036083@repo.freebsd.org>

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

Log:
  - Add LICENSE
  - Convert to new options target helper
  - Use BROKEN_RUBY22
  - Use single space after WWW:
  - Cosmetic change
  - Pass maintainership to ruby@

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

Modified: head/textproc/ruby-sary/Makefile
==============================================================================
--- head/textproc/ruby-sary/Makefile	Thu Sep  3 16:24:53 2015	(r396007)
+++ head/textproc/ruby-sary/Makefile	Thu Sep  3 16:24:57 2015	(r396008)
@@ -10,17 +10,23 @@ PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
 DISTNAME=	${PORTNAME}-ruby-${PORTVERSION}
 DIST_SUBDIR=	ruby
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	ruby@FreeBSD.org
 COMMENT=	Ruby interface to the Sary library
 
+LICENSE=	LGPL21 LGPL3
+LICENSE_COMB=	dual
+
 LIB_DEPENDS=	libsary.so:${PORTSDIR}/textproc/sary
 
+BROKEN_RUBY22=	yes
+
+OPTIONS_DEFINE=	DOCS
+
+INSTALL_TARGET=	site-install
 USE_RUBY=	yes
 USE_RUBY_EXTCONF=	yes
 USES=		pkgconfig
 
-INSTALL_TARGET=	site-install
-
 RUBY_RD_FILES=	*.en.rd *.ja.rd
 
 DOCS_EN=	ChangeLog \
@@ -29,23 +35,13 @@ DOCS_EN=	ChangeLog \
 DOCS_JA=	${RUBY_RD_FILES:M*.ja.rd} \
 		${RUBY_RD_HTML_FILES:M*.ja.html}
 
-OPTIONS_DEFINE=	DOCS
-
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR:C/^${LOCALBASE}/${PREFIX}/}/sary.so
 	${INSTALL_SCRIPT} ${WRKSRC}/rsary.rb ${STAGEDIR}${PREFIX}/bin/
-	${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/
-.endfor
-
-.include <bsd.port.pre.mk>
-
-.if ${RUBY_VER} >= 2.2
-BROKEN=		Does not build
-.endif
 
-.include <bsd.port.post.mk>
+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/
+
+.include <bsd.port.mk>

Modified: head/textproc/ruby-sary/pkg-descr
==============================================================================
--- head/textproc/ruby-sary/pkg-descr	Thu Sep  3 16:24:53 2015	(r396007)
+++ head/textproc/ruby-sary/pkg-descr	Thu Sep  3 16:24:57 2015	(r396008)
@@ -1,3 +1,3 @@
 This module is a Ruby interface to the Sary library.
 
-WWW:	http://sary.sourceforge.net/index.html.en
+WWW: http://sary.sourceforge.net/index.html.en



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