mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- Fix www/rubygem-passenger under lang/ruby19 [1]
- Fix www/rubygem-rake under lang/ruby19 [2] PR: ports/147137 [3], ports/143661 [1], ports/144606 [2] Submitted by: myself (pgollucci), Jyun-Yan You <jyyou@cs.nctu.edu.tw> [1] "Aaron D. Gifford" <Aaron.D.Gifford@FreeBSD.org> [2] Approved by: maintainer timeout (stas) [3] / myself With Hat: ruby
This commit is contained in:
parent
4e2a10c5ee
commit
d2e84b418d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260250
@ -137,6 +137,7 @@ Ruby_Include_MAINTAINER= stas@FreeBSD.org
|
||||
#
|
||||
|
||||
RUBY_DEFAULT_VER?= 1.8
|
||||
RAKE_VER= 0.8.7
|
||||
|
||||
RUBY_VER?= ${RUBY_DEFAULT_VER}
|
||||
|
||||
@ -534,12 +535,12 @@ RUN_DEPENDS+= ${DEPEND_RUBY_ICONV}
|
||||
.endif
|
||||
|
||||
.if defined(USE_RAKE)
|
||||
. if ${RUBY_VER} == 1.8
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake
|
||||
RAKE_BIN= ${LOCALBASE}/bin/rake
|
||||
. else
|
||||
RAKE_BIN= ${LOCALBASE}/bin/${RUBY_VER:S/.//}
|
||||
. endif
|
||||
.if ${RUBY_VER} == 1.8
|
||||
RAKE_BIN= ${LOCALBASE}/bin/rake
|
||||
.else
|
||||
RAKE_BIN= ${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(USE_RUBY_AMSTD)
|
||||
|
@ -5,7 +5,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= rake
|
||||
PORTVERSION= 0.8.7
|
||||
PORTVERSION= ${RAKE_VER}
|
||||
CATEGORIES= devel rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
@ -15,20 +15,17 @@ COMMENT= Ruby Make
|
||||
USE_RUBY= yes
|
||||
USE_RUBYGEMS= yes
|
||||
RUBYGEM_AUTOPLIST= yes
|
||||
PLIST_FILES= bin/rake
|
||||
|
||||
MANCOMPRESSED= yes
|
||||
MAN1= rake.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${RUBY_VER} == 1.9
|
||||
IGNORE= already included in ruby distribution
|
||||
.if ${RUBY_VER} == 1.8
|
||||
PLIST_FILES= bin/rake
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${MV} ${PREFIX}/${GEM_LIB_DIR}/doc/rake.1.gz \
|
||||
${PREFIX}/man/man1
|
||||
${MV} ${PREFIX}/${GEM_LIB_DIR}/doc/rake.1.gz ${PREFIX}/man/man1
|
||||
${CHMOD} ${MANMODE} ${PREFIX}/man/man1/rake.1.gz
|
||||
${CHOWN} ${MANOWN}:${MANGRP} ${PREFIX}/man/man1/rake.1.gz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user