blob: fb9f54dbe3061e143e274966ff34c874c96b8215 (
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
36
37
38
39
40
41
|
# New ports collection makefile for: Ruby-Racc
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= racc
PORTVERSION= 1.4.3
CATEGORIES= devel ruby
MASTER_SITES= http://i.loveruby.net/archive/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}-all-2
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= An LALR(1) parser generator for Ruby
USE_RUBY= yes
USE_RUBY_SETUP= yes
USE_RUBY_FEATURES= racc-runtime
CONFIGURE_ARGS= --with=racc
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-all
WRKDIR_RACC= ${WRKSRC}/packages/racc
post-extract:
${CP} -p ${WRKDIR_RACC}/misc/* ${WRKDIR_RACC}/bin/
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKDIR_RACC}/sample/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}/ja
${INSTALL_DATA} ${WRKDIR_RACC}/doc.en/* ${RUBY_MODDOCDIR}/
${INSTALL_DATA} ${WRKDIR_RACC}/doc.ja/* ${RUBY_MODDOCDIR}/ja/
.endif
.include <bsd.port.mk>
|