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 |