aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ruby-dict/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/net/ruby-dict/Makefile b/net/ruby-dict/Makefile
index d1cd2207b8ce..0c814eca40d9 100644
--- a/net/ruby-dict/Makefile
+++ b/net/ruby-dict/Makefile
@@ -9,9 +9,17 @@ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ruby@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
+post-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>