summaryrefslogtreecommitdiff
path: root/devel/ruby-racc/Makefile
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-03-07 14:32:28 +0000
committertaca <taca@pkgsrc.org>2004-03-07 14:32:28 +0000
commitec7133d9d10a9af05c05cbe99639a7b56cb6dd40 (patch)
tree49a2cf9d26f608fe789f844631f3240630854fea /devel/ruby-racc/Makefile
parent22ba09799736fd169a59217d8cac2b736a3612ef (diff)
downloadpkgsrc-ec7133d9d10a9af05c05cbe99639a7b56cb6dd40.tar.gz
Update ruby-racc package to 1.4.4 (racc-1.4.4).
- support Ruby 1.8.0 - distribution's content changed. - miscellous bug fixes. pkgsrc changes: - ruby-racc-runtime is obsolete now and please use "racc -E" for ruby 1.6.X.
Diffstat (limited to 'devel/ruby-racc/Makefile')
-rw-r--r--devel/ruby-racc/Makefile51
1 files changed, 26 insertions, 25 deletions
diff --git a/devel/ruby-racc/Makefile b/devel/ruby-racc/Makefile
index e1302ddef96..eecf3bd046e 100644
--- a/devel/ruby-racc/Makefile
+++ b/devel/ruby-racc/Makefile
@@ -1,49 +1,50 @@
-# $NetBSD: Makefile,v 1.5 2003/08/30 08:21:57 taca Exp $
+# $NetBSD: Makefile,v 1.6 2004/03/07 14:32:28 taca Exp $
# FreeBSD: ports/devel/ruby-racc/Makefile,v 1.20 2001/01/27 09:54:30 knu Exp
-DISTNAME= ${RACC_DISTFILE}
-PKGNAME?= ${RACC_NAME}-${RACC_VERSION}
+DISTNAME= racc-1.4.4
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
CATEGORIES= devel
-MASTER_SITES= ${RACC_SITES}
+MASTER_SITES= http://www.loveruby.net/archive/racc/
MAINTAINER= taca@NetBSD.org
-HOMEPAGE= ${RACC_HOMEPAGE}
+HOMEPAGE= http://www.loveruby.net/en/racc.html
COMMENT= LALR(1) parser generator for Ruby
-DEPENDS+= ${RACC_NAME}-runtime>=${RACC_VERSION}:../../devel/ruby-racc-runtime
DEPENDS+= ${RUBY_PKGNAMEPREFIX}strscan>=0.6.1:../../devel/ruby-strscan
-CONFIGURE_ARGS+=--with=racc
+CONFLICTS= racc-runtime-*
-DOCS= BUGS.en BUGS.ja README.en README.ja
-DOCS_EN= changes.html command.html debug.html grammar.html index.html \
- notes.html parser.html usage.html
-DOCS_JA= changes.html command.html debug.html grammar.html index.html \
- notes.html parser.html usage.html
+DIST_SUBDIR= ruby
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+
+DOCS= ChangeLog NEWS.en NEWS.ja README.en README.ja
+DOCS_EN= NEWS.html command.html debug.html grammar.html index.html \
+ parser.html usage.html
+DOCS_JA= NEWS.html command.html debug.html grammar.html index.html \
+ parser.html usage.html
EXAMPLES= array.y array2.y calc-ja.y calc.y conflict.y hash.y lalr.y \
syntax.y yyerr.y
-pre-configure:
- ${CP} -p ${WRKSRC}/packages/racc/misc/* ${WRKSRC}/packages/racc/bin
-
post-install:
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/racc
-.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/packages/racc/sample/${f} \
- ${RUBY_EXAMPLESDIR}/racc
-.endfor
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/racc/en
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/racc/ja
.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/packages/racc/${f} ${RUBY_DOCDIR}/racc
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/racc
.endfor
.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/packages/racc/doc.en/${f} \
+ ${INSTALL_DATA} ${WRKSRC}/doc.en/${f} \
${RUBY_DOCDIR}/racc/en
.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/racc/ja
.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/packages/racc/doc.ja/${f} \
+ ${INSTALL_DATA} ${WRKSRC}/doc.ja/${f} \
${RUBY_DOCDIR}/racc/ja
.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/racc
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/sample/${f} \
+ ${RUBY_EXAMPLESDIR}/racc
+.endfor
-.include "Makefile.common"
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"