2000-08-12 20:09:41 +00:00
|
|
|
# New ports collection makefile for: Ruby-Racc
|
|
|
|
# Date created: 7 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
2000-08-07 08:20:31 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= racc
|
2006-05-06 10:06:33 +00:00
|
|
|
PORTVERSION= 1.4.5
|
2000-08-16 12:21:24 +00:00
|
|
|
CATEGORIES= devel ruby
|
2003-01-11 08:19:59 +00:00
|
|
|
MASTER_SITES= http://i.loveruby.net/archive/%SUBDIR%/
|
2002-01-03 20:30:38 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-09-07 07:23:43 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2003-10-14 22:20:37 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-all
|
2000-08-08 16:08:31 +00:00
|
|
|
DIST_SUBDIR= ruby
|
2000-08-07 08:20:31 +00:00
|
|
|
|
2005-11-11 01:18:01 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 05:04:59 +00:00
|
|
|
COMMENT= An LALR(1) parser generator for Ruby
|
2000-08-07 08:20:31 +00:00
|
|
|
|
2000-09-07 07:23:43 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_SETUP= yes
|
2002-09-21 07:11:33 +00:00
|
|
|
USE_RUBY_FEATURES= racc-runtime
|
2000-08-22 06:46:52 +00:00
|
|
|
|
2001-09-08 13:12:56 +00:00
|
|
|
CONFIGURE_ARGS= --with=racc
|
2001-06-11 03:10:57 +00:00
|
|
|
|
2003-01-11 08:19:59 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-all
|
2001-09-08 13:12:56 +00:00
|
|
|
WRKDIR_RACC= ${WRKSRC}/packages/racc
|
2000-08-07 08:20:31 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-08-12 20:09:41 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 21:08:30 +00:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR_RACC}/sample/* ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
2003-10-14 22:20:37 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR_RACC}/doc.en/*.html ${RUBY_MODDOCDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKDIR_RACC}/doc.ja/*.html ${RUBY_MODDOCDIR}/ja/
|
2000-08-07 08:20:31 +00:00
|
|
|
.endif
|
|
|
|
|
2002-09-21 07:11:33 +00:00
|
|
|
.include <bsd.port.mk>
|