1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Update to 0.5, with h2rb and callback support.

This commit is contained in:
Akinori MUSHA 2001-07-19 07:22:55 +00:00
parent d8f176f211
commit 2e98df83f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45240
3 changed files with 8 additions and 3 deletions

View File

@ -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}

View File

@ -1 +1 @@
MD5 (ruby/ruby-dl-0.3.tar.gz) = 8ae682cefeb61e52d90f25f25035912f
MD5 (ruby/ruby-dl-0.5.tar.gz) = 678cf26b9d5c5c267915db7308772f2c

View File

@ -1,3 +1,4 @@
bin/h2rb
%%RUBY_SITEARCHLIBDIR%%/dl.so
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dl/Makefile
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dl/test.c