svn commit: r396005 - head/net/ruby-dict
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Sep 3 16:24:45 UTC 2015
Author: sunpoet
Date: Thu Sep 3 16:24:44 2015
New Revision: 396005
URL: https://svnweb.freebsd.org/changeset/ports/396005
Log:
- Add LICENSE
- Convert to new options target helper
- Add NO_ARCH
- Use BROKEN_RUBY22
- Pass maintainership to ruby@
Modified:
head/net/ruby-dict/Makefile
Modified: head/net/ruby-dict/Makefile
==============================================================================
--- head/net/ruby-dict/Makefile Thu Sep 3 16:24:40 2015 (r396004)
+++ head/net/ruby-dict/Makefile Thu Sep 3 16:24:44 2015 (r396005)
@@ -9,9 +9,17 @@ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ruby at FreeBSD.org
COMMENT= Client-side implementation of the DICT protocol in Ruby
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BROKEN_RUBY22= yes
+
+OPTIONS_DEFINE= DOCS
+
+NO_ARCH= yes
USE_RUBY= yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
@@ -20,19 +28,11 @@ RUBY_SHEBANG_FILES= ${WRKSRC}/rdict
DOCS= Changelog README doc/dict.html doc/rdict.html
-OPTIONS_DEFINE= DOCS
-
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/rdict ${STAGEDIR}${PREFIX}/bin/
- ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
-.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}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/
+
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list