1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update to 1.7.11 and (attempt to) remove NO_STAGE.

This commit is contained in:
Akinori MUSHA 2014-04-04 01:13:39 +00:00
parent 2a15338d01
commit 522a384359
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350058
2 changed files with 15 additions and 16 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= jruby
PORTVERSION= 1.7.10
PORTVERSION= 1.7.11
CATEGORIES= lang ruby java
MASTER_SITES= http://jruby.org.s3.amazonaws.com/downloads/${PORTVERSION}/
DISTNAME= ${PORTNAME}-bin-${PORTVERSION}
@ -26,7 +26,6 @@ SHEBANG_FILES= rake spec spec_translator Rakefile '*.rb'
PLIST_SUB+= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} JRUBY_HOME=${JRUBY_HOME:S,${PREFIX}/,,}
NO_STAGE= yes
.include <bsd.port.pre.mk>
pre-patch:
@ -58,31 +57,31 @@ do-install:
@${ECHO_MSG} -n ">> Installing JRuby files..."
@cd ${WRKSRC}/bin \
&& ${FIND} . -type d -exec ${MKDIR} ${JRUBY_HOME}/bin/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_SCRIPT} {} ${JRUBY_HOME}/bin/{} \;
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${JRUBY_HOME}/bin/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_SCRIPT} {} ${STAGEDIR}${JRUBY_HOME}/bin/{} \;
@cd ${WRKSRC}/lib \
&& ${FIND} . -type d -exec ${MKDIR} ${JRUBY_HOME}/lib/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${JRUBY_HOME}/lib/{} \;
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${JRUBY_HOME}/lib/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${JRUBY_HOME}/lib/{} \;
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} -n ">> Installing symlinks in ${PREFIX}/bin..."
@${LN} -sf ${JRUBY_HOME}/bin/jruby ${PREFIX}/bin/jruby
@${LN} -sf ${JRUBY_HOME}/bin/jirb ${PREFIX}/bin/jirb
@${ECHO_MSG} -n ">> Installing symlinks in ${STAGEDIR}${PREFIX}/bin..."
@${LN} -sf ${JRUBY_HOME}/bin/jruby ${STAGEDIR}${PREFIX}/bin/jruby
@${LN} -sf ${JRUBY_HOME}/bin/jirb ${STAGEDIR}${PREFIX}/bin/jirb
@${ECHO_MSG} " [ DONE ]"
.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} -n ">> Installing Documents files..."
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/ \
&& ${COPYTREE_SHARE} [A-Z]\* ${DOCSDIR})
&& ${COPYTREE_SHARE} [A-Z]\* ${STAGEDIR}${DOCSDIR})
@(cd ${WRKSRC}/docs \
&& ${COPYTREE_SHARE} \* ${DOCSDIR})
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/samples \
&& ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
@${ECHO_MSG} " [ DONE ]"
.endif

View File

@ -1,2 +1,2 @@
SHA256 (jruby-bin-1.7.10.tar.gz) = 223285ee2fca5a4825f017b8a441232ec05d3fba5de213336c7ef6b6a36de651
SIZE (jruby-bin-1.7.10.tar.gz) = 19800571
SHA256 (jruby-bin-1.7.11.tar.gz) = d634ffc692a8ee5bae513266956609d41d785f912facf11749609a7763120fb3
SIZE (jruby-bin-1.7.11.tar.gz) = 19813308