aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-19 11:28:44 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-19 11:28:44 +0000
commit1d1a229ed37b47912edcd4eeafcb700aafa583fa (patch)
tree0f096c78dec2b38113838b6e65a4f1346c95c31f /devel
parentd55b826c1df0e31ff64afc32147612a696b6cb93 (diff)
downloadports-1d1a229ed37b47912edcd4eeafcb700aafa583fa.tar.gz
ports-1d1a229ed37b47912edcd4eeafcb700aafa583fa.zip
Notes
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 59ecb7918324..dd60f3078ca5 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 98591cf6f2cd..471976c8db05 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 5a18fce631fd..4e6dac0d9bf3 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