blob: d5f060e125345e0ec4c190930fd62d304ddfc617 (
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
34
35
36
37
38
39
40
41
42
43
44
45
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= rbison
PORTVERSION= 0.0.7
PORTREVISION= 4
CATEGORIES= devel ruby
MASTER_SITES= http://freebsd.unixfreunde.de/sources/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Generates a Ruby parser class from a Bison-like specification file
USES= bison shebangfix
USE_RUBY= yes
SHEBANG_FILES= rbison
DOCS= ChangeLog README
EXAMPLES= CalcFileLexer.rb CalcStringLexer.rb \
calc.in calc.ry calc_test.rb
NO_BUILD= yes
BROKEN_RUBY22= Builds but does not run
BROKEN_RUBY23= Builds but does not run
OPTIONS_DEFINE= DOCS
DEPRECATED= Does not work on modern ruby
EXPIRATION_DATE= 2017-01-28
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rbison ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
.endfor
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.include <bsd.port.mk>
|