diff options
author | knu <knu@FreeBSD.org> | 2000-08-07 16:20:31 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-07 16:20:31 +0800 |
commit | ee45ff4ebd7e88c7dbf710e68dbd0b9777ad5ef3 (patch) | |
tree | 8e17deddf9e2ca2da637468b1df28723eccb7fe9 /devel/ruby-racc/Makefile | |
parent | c0a9453662405e1651994f8fe45c26db896bf09e (diff) | |
download | freebsd-ports-gnome-ee45ff4ebd7e88c7dbf710e68dbd0b9777ad5ef3.tar.gz freebsd-ports-gnome-ee45ff4ebd7e88c7dbf710e68dbd0b9777ad5ef3.tar.zst freebsd-ports-gnome-ee45ff4ebd7e88c7dbf710e68dbd0b9777ad5ef3.zip |
Add more Ruby ports.
devel/ruby-racc:
An LALR(1) parser generator for Ruby
textproc/ruby-html-parser:
HTML-parser package for Ruby
Diffstat (limited to 'devel/ruby-racc/Makefile')
-rw-r--r-- | devel/ruby-racc/Makefile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/devel/ruby-racc/Makefile b/devel/ruby-racc/Makefile new file mode 100644 index 000000000000..de7dd1e18e88 --- /dev/null +++ b/devel/ruby-racc/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: Ruby-Racc +# Date created: 7 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= racc +PORTVERSION= 1.2.1 +CATEGORIES= devel # ruby +MASTER_SITES= http://www1.u-netsurf.ne.jp/~brew/mine/soft/ +PKGNAMEPREFIX= ruby- + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby +RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby + +PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" + +RUBY= ${LOCALBASE}/bin/ruby +RUBY_VER= 1.4 +RUBY_ARCH= ${ARCH}-freebsd${OSREL} + +DOCS_EN= changes.html command.html debug.html grammer.html \ + index.html usage.html +DOCS_JA= changes.html command.html debug.html grammer.html \ + index.html parser.html usage.html +EXAMPLES= calc.y calc2-ja.y compile.rb + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} setup.rb config + +do-build: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${RUBY} setup.rb setup + +do-install: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${RUBY} setup.rb install +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/ruby/racc/examples + ${MKDIR} ${PREFIX}/share/doc/ruby/racc/ja +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/doc/ruby/racc/examples/ +.endfor +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/doc.en/${f} ${PREFIX}/share/doc/ruby/racc/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/doc.ja/${f} ${PREFIX}/share/doc/ruby/racc/ja/ +.endfor +.endif + +.include <bsd.port.mk> |