svn commit: r396008 - head/textproc/ruby-sary
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Sep 3 16:24:59 UTC 2015
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 at FreeBSD.org
+MAINTAINER= ruby at 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
More information about the svn-ports-all
mailing list