blob: 7f045de6c1fa61b6a14be7b398c7f5bea939f364 (
plain)
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
|
# $NetBSD: Makefile,v 1.16 2010/09/13 14:32:40 taca Exp $
DISTNAME= rake-0.8.7
PKGREVISION= 1
CATEGORIES= devel
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://rubyforge.org/projects/rake/
COMMENT= Ruby Make
LICENSE= mit
USE_TOOLS+= gzip
FIX_PERM= doc/release_notes/rake-0.7.3.rdoc \
lib/rake/ruby182_test_unit_fix.rb
CONFLICTS+= rake-*
# rake is bundled Ruby 1.9
RUBY_VERSION_SUPPORTED= 18
INSTALLATION_DIRS= ${PKGMANDIR}/man1
pre-configure:
cd ${WRKSRC}/doc && gzip -d rake.1.gz
cd ${WRKSRC}; ${CHMOD} -x ${FIX_PERM}
${MV} ${WRKSRC}/bin/rake ${WRKSRC}/bin/rake${RUBY_VER}
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/rake.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rake${RUBY_VER}.1
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
|