summaryrefslogtreecommitdiff
path: root/devel/ruby-byaccr/Makefile
blob: 49fdb3a9bd4661db329953a8306590432a30f516 (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.1.1.1 2001/07/01 14:39:15 taca 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"