mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
34da9bdf57
been inactive more than 6 months. We hope to see him back sometime.
45 lines
991 B
Makefile
45 lines
991 B
Makefile
# New ports collection makefile for: rbison
|
|
# Date created: 2 Nov 2000
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rbison
|
|
PORTVERSION= 0.0.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://www.cs.umass.edu/~aseltine/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Generates a Ruby parser class from a Bison-like specification file
|
|
|
|
RUN_DEPENDS= bison:${PORTSDIR}/devel/bison
|
|
|
|
USE_RUBY= yes
|
|
|
|
RUBY_SHEBANG_FILES= ${WRKSRC}/rbison
|
|
|
|
DOCS= ChangeLog README
|
|
EXAMPLES= CalcFileLexer.rb CalcStringLexer.rb \
|
|
calc.in calc.ry calc_test.rb
|
|
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rbison ${PREFIX}/bin/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
.for f in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
|
|
.endfor
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|