aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-07-19 15:22:55 +0800
committerknu <knu@FreeBSD.org>2001-07-19 15:22:55 +0800
commit801970310f2931ea79dd9627f05b57924d25a83b (patch)
tree4439dcc7196d7d54f410f340f8220f3b1d20a606 /devel
parent816aa449fc523bdfa9b7d28d1d913cc80299a226 (diff)
downloadfreebsd-ports-gnome-801970310f2931ea79dd9627f05b57924d25a83b.tar.gz
freebsd-ports-gnome-801970310f2931ea79dd9627f05b57924d25a83b.tar.zst
freebsd-ports-gnome-801970310f2931ea79dd9627f05b57924d25a83b.zip
Update to 0.5, with h2rb and callback support.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-dl/Makefile8
-rw-r--r--devel/ruby-dl/distinfo2
-rw-r--r--devel/ruby-dl/pkg-plist1
3 files changed, 8 insertions, 3 deletions
diff --git a/devel/ruby-dl/Makefile b/devel/ruby-dl/Makefile
index c288a9a69703..3f07749c063d 100644
--- a/devel/ruby-dl/Makefile
+++ b/devel/ruby-dl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dl
-PORTVERSION= 0.3
+PORTVERSION= 0.5
CATEGORIES= devel ruby
MASTER_SITES= http://kt-www.jaist.ac.jp/~ttate/ftp/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -18,7 +18,7 @@ MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-WRKSRC= ${WRKDIR}/ruby-${PORTNAME}-${PORTVERSION}
+#WRKSRC= ${WRKDIR}/ruby-${PORTNAME}-${PORTVERSION}
INSTALL_TARGET= site-install
DOCS_EN= Changes README
@@ -31,7 +31,11 @@ post-extract:
@${ECHO} "SRCS= test.c" >> ${WRKSRC}/test/Makefile
@${ECHO} ".include <bsd.lib.mk>" >> ${WRKSRC}/test/Makefile
+post-patch:
+ ${RUBY} -i -pe "gsub %r|'\.\./dl'|, %q|'dl'|" ${WRKSRC}/test/test.rb
+
post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/h2rb ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOCS_EN}
diff --git a/devel/ruby-dl/distinfo b/devel/ruby-dl/distinfo
index a4dd5c669336..39d30851bdba 100644
--- a/devel/ruby-dl/distinfo
+++ b/devel/ruby-dl/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-dl-0.3.tar.gz) = 8ae682cefeb61e52d90f25f25035912f
+MD5 (ruby/ruby-dl-0.5.tar.gz) = 678cf26b9d5c5c267915db7308772f2c
diff --git a/devel/ruby-dl/pkg-plist b/devel/ruby-dl/pkg-plist
index 8d0df0e93c69..e553ebe74850 100644
--- a/devel/ruby-dl/pkg-plist
+++ b/devel/ruby-dl/pkg-plist
@@ -1,3 +1,4 @@
+bin/h2rb
%%RUBY_SITEARCHLIBDIR%%/dl.so
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dl/Makefile
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dl/test.c