summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-07-19 07:22:55 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-07-19 07:22:55 +0000
commit2e98df83f98207cd1c6a9c62abf475ea72de9f3a (patch)
tree7496e4303681c08046731ea033f976bb0cf461fb /devel
parentRemove BUGS, add COPYING and THANKS to DOCFILES (diff)
Update to 0.5, with h2rb and callback support.
Notes
Notes: svn path=/head/; revision=45240
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