diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-09-04 00:24:57 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-09-04 00:24:57 +0800 |
commit | d750dd5a43f7006f4b6ed642a12967264d61a719 (patch) | |
tree | 4a6e14054e7ac3eed1e081bb8547284780dcea9c | |
parent | 71e1ef3a1c6befa1b34e102a2d2a14522e96e885 (diff) | |
download | freebsd-ports-gnome-d750dd5a43f7006f4b6ed642a12967264d61a719.tar.gz freebsd-ports-gnome-d750dd5a43f7006f4b6ed642a12967264d61a719.tar.zst freebsd-ports-gnome-d750dd5a43f7006f4b6ed642a12967264d61a719.zip |
- Add LICENSE
- Convert to new options target helper
- Use BROKEN_RUBY22
- Use single space after WWW:
- Cosmetic change
- Pass maintainership to ruby@
-rw-r--r-- | textproc/ruby-sary/Makefile | 32 | ||||
-rw-r--r-- | textproc/ruby-sary/pkg-descr | 2 |
2 files changed, 15 insertions, 19 deletions
diff --git a/textproc/ruby-sary/Makefile b/textproc/ruby-sary/Makefile index 4d87f531077d..a48021597a8a 100644 --- a/textproc/ruby-sary/Makefile +++ b/textproc/ruby-sary/Makefile @@ -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 +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.post.mk> +.include <bsd.port.mk> diff --git a/textproc/ruby-sary/pkg-descr b/textproc/ruby-sary/pkg-descr index 377f43dec562..7e9a57a42034 100644 --- a/textproc/ruby-sary/pkg-descr +++ b/textproc/ruby-sary/pkg-descr @@ -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 |