aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-09-04 00:24:44 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-09-04 00:24:44 +0800
commit2bc972c799a69c4acd1e858cafc8dabb4ba6ebb9 (patch)
tree7e0f37ee831a9054ed9c6cce04e958c872f67549 /net
parent17f2ffb0ccdf7226afa24f50a3db987c02fbe4e7 (diff)
downloadfreebsd-ports-gnome-2bc972c799a69c4acd1e858cafc8dabb4ba6ebb9.tar.gz
freebsd-ports-gnome-2bc972c799a69c4acd1e858cafc8dabb4ba6ebb9.tar.zst
freebsd-ports-gnome-2bc972c799a69c4acd1e858cafc8dabb4ba6ebb9.zip
- Add LICENSE
- Convert to new options target helper - Add NO_ARCH - Use BROKEN_RUBY22 - Pass maintainership to ruby@
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>