2000-11-02 03:10:00 +00:00
|
|
|
# New ports collection makefile for: byaccr
|
|
|
|
# Date created: 2 Nov 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= byaccr
|
2001-04-02 15:27:16 +00:00
|
|
|
PORTVERSION= 0.1
|
2000-11-02 03:10:00 +00:00
|
|
|
CATEGORIES= devel ruby
|
2001-03-22 06:31:14 +00:00
|
|
|
MASTER_SITES= http://kt-www.jaist.ac.jp/~ttate/ftp/
|
2000-11-02 03:10:00 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 05:04:59 +00:00
|
|
|
COMMENT= Parser generator for ruby based on 'Berkeley Yacc' and 'Berkeley Yacc for Java'
|
2000-11-02 03:10:00 +00:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
RUBY_NO_BUILD_DEPENDS= yes
|
|
|
|
RUBY_NO_RUN_DEPENDS= yes
|
|
|
|
|
2002-11-02 16:33:08 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
2001-04-02 15:27:16 +00:00
|
|
|
DOCS= README README.html
|
2000-11-02 03:10:00 +00:00
|
|
|
|
|
|
|
post-patch:
|
2002-11-02 16:33:08 +00:00
|
|
|
${REINPLACE_CMD} 's,^#include <malloc\.h>,#include <stdlib.h>,' ${WRKSRC}/*.[ch]
|
2000-11-02 03:10:00 +00:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 21:08:30 +00:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2001-04-02 15:27:16 +00:00
|
|
|
.for f in ${DOCS}
|
2002-10-06 21:08:30 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2000-11-02 03:10:00 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|