View | Details | Raw Unified | Return to bug 147137
Collapse All | Expand All

(-)Mk/bsd.ruby.mk (-5 / +6 lines)
Lines 137-142 Link Here
137
#
137
#
138
138
139
RUBY_DEFAULT_VER?=	1.8
139
RUBY_DEFAULT_VER?=	1.8
140
RAKE_VER=	0.8.7
140
141
141
RUBY_VER?=		${RUBY_DEFAULT_VER}
142
RUBY_VER?=		${RUBY_DEFAULT_VER}
142
143
Lines 534-545 Link Here
534
.endif
535
.endif
535
536
536
.if defined(USE_RAKE)
537
.if defined(USE_RAKE)
537
. if ${RUBY_VER} == 1.8
538
BUILD_DEPENDS+=		${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake
538
BUILD_DEPENDS+=		${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake
539
RAKE_BIN=	 ${LOCALBASE}/bin/rake
539
.if ${RUBY_VER} == 1.8
540
. else
540
RAKE_BIN=	${LOCALBASE}/bin/rake
541
RAKE_BIN=	 ${LOCALBASE}/bin/${RUBY_VER:S/.//}
541
.else
542
. endif
542
RAKE_BIN=	${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//}
543
.endif
543
.endif
544
.endif
544
545
545
.if defined(USE_RUBY_AMSTD)
546
.if defined(USE_RUBY_AMSTD)
(-)devel/rubygem-rake/Makefile (-7 / +4 lines)
Lines 5-11 Link Here
5
# $FreeBSD: ports/devel/rubygem-rake/Makefile,v 1.20 2010/04/27 22:55:18 pgollucci Exp $
5
# $FreeBSD: ports/devel/rubygem-rake/Makefile,v 1.20 2010/04/27 22:55:18 pgollucci Exp $
6
6
7
PORTNAME=	rake
7
PORTNAME=	rake
8
PORTVERSION=	0.8.7
8
PORTVERSION=	${RAKE_VER}
9
CATEGORIES=	devel rubygems
9
CATEGORIES=	devel rubygems
10
MASTER_SITES=	RF
10
MASTER_SITES=	RF
11
11
Lines 15-34 Link Here
15
USE_RUBY=	yes
15
USE_RUBY=	yes
16
USE_RUBYGEMS=	yes
16
USE_RUBYGEMS=	yes
17
RUBYGEM_AUTOPLIST=	yes
17
RUBYGEM_AUTOPLIST=	yes
18
PLIST_FILES=	bin/rake
19
18
20
MANCOMPRESSED=	yes
19
MANCOMPRESSED=	yes
21
MAN1=		rake.1
20
MAN1=		rake.1
22
21
23
.include <bsd.port.pre.mk>
22
.include <bsd.port.pre.mk>
24
23
.if ${RUBY_VER} == 1.8
25
.if ${RUBY_VER} == 1.9
24
PLIST_FILES=	bin/rake
26
IGNORE=	already included in ruby distribution
27
.endif
25
.endif
28
26
29
post-install:
27
post-install:
30
	${MV} ${PREFIX}/${GEM_LIB_DIR}/doc/rake.1.gz \
28
	${MV} ${PREFIX}/${GEM_LIB_DIR}/doc/rake.1.gz ${PREFIX}/man/man1
31
		${PREFIX}/man/man1
32
	${CHMOD} ${MANMODE} ${PREFIX}/man/man1/rake.1.gz
29
	${CHMOD} ${MANMODE} ${PREFIX}/man/man1/rake.1.gz
33
	${CHOWN} ${MANOWN}:${MANGRP} ${PREFIX}/man/man1/rake.1.gz
30
	${CHOWN} ${MANOWN}:${MANGRP} ${PREFIX}/man/man1/rake.1.gz

Return to bug 147137