2000-11-02 04:10:00 +01: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 17:27:16 +02:00
|
|
|
PORTVERSION= 0.1
|
2000-11-02 04:10:00 +01:00
|
|
|
CATEGORIES= devel ruby
|
2004-06-08 16:12:31 +02:00
|
|
|
MASTER_SITES= http://ttsky.net/src/
|
2000-11-02 04:10:00 +01:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2005-11-11 02:18:01 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 06:04:59 +01:00
|
|
|
COMMENT= Parser generator for ruby based on 'Berkeley Yacc' and 'Berkeley Yacc for Java'
|
2000-11-02 04:10:00 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
RUBY_NO_BUILD_DEPENDS= yes
|
|
|
|
RUBY_NO_RUN_DEPENDS= yes
|
|
|
|
|
2001-04-02 17:27:16 +02:00
|
|
|
DOCS= README README.html
|
2000-11-02 04:10:00 +01:00
|
|
|
|
|
|
|
post-patch:
|
2002-11-02 17:33:08 +01:00
|
|
|
${REINPLACE_CMD} 's,^#include <malloc\.h>,#include <stdlib.h>,' ${WRKSRC}/*.[ch]
|
2000-11-02 04:10:00 +01:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2001-04-02 17:27:16 +02:00
|
|
|
.for f in ${DOCS}
|
2002-10-06 23:08:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2000-11-02 04:10:00 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|