mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
Update to 1.0.
This commit is contained in:
parent
d55b826c1d
commit
1d1a229ed3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53334
@ -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>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ruby/ruby-dl-0.9.tar.gz) = dd538b8a0281097e68bfc3ba87a756c0
|
||||
MD5 (ruby/ruby-dl-1.0.tar.gz) = 3eb93682fd8d376e4007f3418ed0f0ec
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user