aboutsummaryrefslogtreecommitdiffstats
path: root/devel/rubygem-rake/Makefile
blob: 4efbec978128aeacb0823fafe95cbf81cf973389 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Ports collection makefile for:    gem-rake
# Date created:             27 May 2005
# Whom:                 Jonathan Weiss (<jw@innerewut.de>)
#
# $FreeBSD$

PORTNAME=   rake
PORTVERSION=    0.8.7
CATEGORIES= devel rubygems
MASTER_SITES=   RF

MAINTAINER= ruby@FreeBSD.org
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
.endif

post-install:
    ${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

.include <bsd.port.post.mk>