aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-09-03 16:24:44 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-09-03 16:24:44 +0000
commitbd987dcd4cb6f7a239167ed22b84c7b823590290 (patch)
tree7e0f37ee831a9054ed9c6cce04e958c872f67549
parent835c32d96ee711ace2ae340518190ac4d3a4feb8 (diff)
downloadports-bd987dcd4cb6f7a239167ed22b84c7b823590290.tar.gz
ports-bd987dcd4cb6f7a239167ed22b84c7b823590290.zip
Notes
-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>