aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-racc
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-08 13:12:56 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-08 13:12:56 +0000
commit002496839d5f7ca20d060d34e176aac2992efa66 (patch)
tree4da9f2b5e16d8e5d73e0679e590f1427185eb678 /devel/ruby-racc
parent5d4bd00b946f570b0c16e052f83b892560284490 (diff)
downloadports-002496839d5f7ca20d060d34e176aac2992efa66.tar.gz
ports-002496839d5f7ca20d060d34e176aac2992efa66.zip
Notes
Diffstat (limited to 'devel/ruby-racc')
-rw-r--r--devel/ruby-racc/Makefile45
-rw-r--r--devel/ruby-racc/distinfo2
2 files changed, 13 insertions, 34 deletions
diff --git a/devel/ruby-racc/Makefile b/devel/ruby-racc/Makefile
index f4a0d3b3cee2..245007c03148 100644
--- a/devel/ruby-racc/Makefile
+++ b/devel/ruby-racc/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= racc
-PORTVERSION= 1.3.10
+PORTVERSION= 1.3.11
CATEGORIES= devel ruby
MASTER_SITES= http://www.loveruby.net/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-all
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
@@ -24,44 +25,22 @@ USE_RUBY_AMSTD= yes
USE_RUBY_SETUP= yes
.if defined(RUNTIME)
-CONFIGURE_ARGS= --with=lib/raccrt,ext/cparse
+CONFIGURE_ARGS= --with=raccrt
.else
-CONFIGURE_ARGS= --with=bin/racc,lib/racc,ext/cscan
-.endif
+CONFIGURE_ARGS= --with=racc
-DOCS_EN= changes.html command.html debug.html grammer.html \
- index.html parser.html usage.html
-DOCS_JA= changes.html command.html debug.html grammer.html \
- index.html parser.html usage.html
-EXAMPLES= array.y array2.y calc-ja.y calc.y conflict.y \
- hash.y lalr.y lists.y syntax.y yyerr.y
+WRKDIR_RACC= ${WRKSRC}/packages/racc
-.if !defined(RUNTIME)
-post-patch:
- ${PERL} -i -pe '$$. == 1 && s,^#!\s*\S+,#!${RUBY},' \
- ${WRKSRC}/misc/racc2y \
- ${WRKSRC}/misc/y2racc
-.endif
+post-extract:
+ ${CP} -p ${WRKDIR_RACC}/misc/* ${WRKDIR_RACC}/bin/
do-install:
-.if defined(RUNTIME)
- ${MKDIR} ${RUBY_SITELIBDIR}/racc
- ${MKDIR} ${RUBY_SITEARCHLIBDIR}/racc
-.else
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/racc/racc \
- ${WRKSRC}/misc/racc2y ${WRKSRC}/misc/y2racc ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_EXAMPLESDIR}/racc
-.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/racc/
-.endfor
- ${MKDIR} ${RUBY_DOCDIR}/racc/ja
-.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/doc.en/${f} ${RUBY_DOCDIR}/racc/
-.endfor
-.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/doc.ja/${f} ${RUBY_DOCDIR}/racc/ja/
-.endfor
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKDIR_RACC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+ ${INSTALL_DATA} ${WRKDIR_RACC}/doc.en/* ${RUBY_DOCDIR}/${PORTNAME}/
+ ${INSTALL_DATA} ${WRKDIR_RACC}/doc.ja/* ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endif
.endif
diff --git a/devel/ruby-racc/distinfo b/devel/ruby-racc/distinfo
index d1d15a93a89b..557a3d5b7e6c 100644
--- a/devel/ruby-racc/distinfo
+++ b/devel/ruby-racc/distinfo
@@ -1 +1 @@
-MD5 (ruby/racc-1.3.10.tar.gz) = 7e65e4dff5f73199c103f1f833ebd9e4
+MD5 (ruby/racc-1.3.11-all.tar.gz) = 41f9d883d915929763163960e18b5718