summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-01-19 11:28:44 +0000
committerknu <knu@FreeBSD.org>2002-01-19 11:28:44 +0000
commit936158a176a0caa133ce620a051a18e8225132d5 (patch)
treeb6c230b638d26282124c6680d9aed706528517fa /devel
parenta615b7761f4ff049f428f9c6d94528db5aad1892 (diff)
downloadFreeBSD-ports-936158a176a0caa133ce620a051a18e8225132d5.zip
FreeBSD-ports-936158a176a0caa133ce620a051a18e8225132d5.tar.gz
Update to 1.0.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-dl/Makefile14
-rw-r--r--devel/ruby-dl/distinfo2
-rw-r--r--devel/ruby-dl/pkg-plist6
3 files changed, 6 insertions, 16 deletions
diff --git a/devel/ruby-dl/Makefile b/devel/ruby-dl/Makefile
index 59ecb79..dd60f30 100644
--- a/devel/ruby-dl/Makefile
+++ b/devel/ruby-dl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dl
-PORTVERSION= 0.9
+PORTVERSION= 1.0
CATEGORIES= devel ruby
MASTER_SITES= http://kt-www.jaist.ac.jp/~ttate/ftp/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -29,16 +29,6 @@ DOCS_EN= Changes README README.html
CONFIGURE_ARGS+= --with-asm
.endif
-post-extract:
- @${ECHO} "LIB= test" > ${WRKSRC}/test/Makefile
- @${ECHO} "SHLIB_MAJOR= 1" >> ${WRKSRC}/test/Makefile
- @${ECHO} "SHLIB_MINOR= 0" >> ${WRKSRC}/test/Makefile
- @${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)
@@ -47,7 +37,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/test/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endif
.include <bsd.port.post.mk>
diff --git a/devel/ruby-dl/distinfo b/devel/ruby-dl/distinfo
index 98591cf..471976c 100644
--- a/devel/ruby-dl/distinfo
+++ b/devel/ruby-dl/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-dl-0.9.tar.gz) = dd538b8a0281097e68bfc3ba87a756c0
+MD5 (ruby/ruby-dl-1.0.tar.gz) = 3eb93682fd8d376e4007f3418ed0f0ec
diff --git a/devel/ruby-dl/pkg-plist b/devel/ruby-dl/pkg-plist
index 5a18fce..4e6dac0 100644
--- a/devel/ruby-dl/pkg-plist
+++ b/devel/ruby-dl/pkg-plist
@@ -1,8 +1,8 @@
bin/h2rb
%%RUBY_SITEARCHLIBDIR%%/dl.so
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dl/Makefile
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dl/test.c
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dl/test.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dl/drives.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dl/getch.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dl/libc.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/dl
%%PORTDOCS%%%%RUBY_DOCDIR%%/dl/Changes
%%PORTDOCS%%%%RUBY_DOCDIR%%/dl/README
OpenPOWER on IntegriCloud