summaryrefslogtreecommitdiff
path: root/devel/ruby-byaccr/Makefile
blob: f0fbda8af30a7a08e73b47cdeee1a3db97064ff8 (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.4 2004/03/16 02:01:10 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 ruby
MASTER_SITES=	ftp://ftp.idaemons.org/pub/distfiles/ruby/

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"