1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

devel/ruby-racc-runtime has been replaced with lang/ruby16-shim-ruby18.

This commit is contained in:
Akinori MUSHA 2002-06-08 17:40:25 +00:00
parent 4cb33dba94
commit 747f5d83f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60873
5 changed files with 8 additions and 36 deletions

View File

@ -1,16 +0,0 @@
# New ports collection makefile for: Ruby-Racc-runtime
# Date created: 22 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
MASTERDIR= ${.CURDIR}/../ruby-racc
PKGNAMESUFFIX= -runtime
PKGDIR= ${.CURDIR}
RUNTIME= yes
.include "${MASTERDIR}/Makefile"

View File

@ -1 +0,0 @@
Runtime libraries for Racc, an LALR(1) parser generator for Ruby

View File

@ -1,5 +0,0 @@
This package only installs runtime libraries for Racc, an LALR(1)
parser generator for Ruby.
Author: Minero Aoki <aamine@dp.u-netsurf.ne.jp>
WWW: http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html

View File

@ -1,4 +0,0 @@
%%RUBY_SITELIBDIR%%/racc/parser.rb
%%RUBY_SITEARCHLIBDIR%%/racc/cparse.so
@dirrm %%RUBY_SITELIBDIR%%/racc
@dirrm %%RUBY_SITEARCHLIBDIR%%/racc

View File

@ -17,21 +17,20 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
.if !defined(RUNTIME)
RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime \
${RUBY_SITELIBDIR}/strscan.rb:${PORTSDIR}/devel/ruby-strscan
.endif
USE_RUBY= yes
USE_RUBY_SETUP= yes
.if defined(RUNTIME)
CONFIGURE_ARGS= --with=raccrt
.else
CONFIGURE_ARGS= --with=racc
WRKDIR_RACC= ${WRKSRC}/packages/racc
.include <bsd.port.pre.mk>
.if ${RUBY_VER} < 1.7
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 \
${RUBY_SITEARCHLIBDIR}/strscan.so:${PORTSDIR}/lang/ruby16-shim-ruby18
.endif
post-extract:
${CP} -p ${WRKDIR_RACC}/misc/* ${WRKDIR_RACC}/bin/
@ -43,6 +42,5 @@ do-install:
${INSTALL_DATA} ${WRKDIR_RACC}/doc.en/* ${RUBY_DOCDIR}/${PORTNAME}/
${INSTALL_DATA} ${WRKDIR_RACC}/doc.ja/* ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endif
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>