summaryrefslogtreecommitdiff
path: root/devel/ruby-byaccr/Makefile
blob: 4e3740eff85161441df38289778b3fb6489450ee (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
# $NetBSD: Makefile,v 1.2 2003/07/17 21:33:39 grant Exp $
# FreeBSD: ports/devel/ruby-byaccr/Makefile,v 1.2 2000/11/03 15:49:06 knu Exp

DISTNAME=	byaccr-0.1
PKGNAME=	${RUBY_PKGNAMEPREFIX}${DISTNAME}
CATEGORIES=	devel
MASTER_SITES=	http://kt-www.jaist.ac.jp:8000/~ttate/ftp/

MAINTAINER=	taca@NetBSD.org
HOMEPAGE=	# none
COMMENT=	Parser generator for ruby based on 'Berkeley Yacc/Yacc for Java'

DIST_SUBDIR=	ruby
USE_RUBY=	yes

EXAMPLES=	Makefile cal.y calfunc.rb main.rb

post-install:
	${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/byaccr
.for f in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/byaccr
.endfor

.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"