mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
2e85f2165e
PR: ports/96801 Submitted by: Aleksander Fafula <alex@fafula.com>
39 lines
974 B
Makefile
39 lines
974 B
Makefile
# 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.4.5
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://i.loveruby.net/archive/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-all
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An LALR(1) parser generator for Ruby
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_SETUP= yes
|
|
USE_RUBY_FEATURES= racc-runtime
|
|
|
|
CONFIGURE_ARGS= --with=racc
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-all
|
|
WRKDIR_RACC= ${WRKSRC}/packages/racc
|
|
|
|
do-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKDIR_RACC}/sample/* ${RUBY_MODEXAMPLESDIR}/
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
${INSTALL_DATA} ${WRKDIR_RACC}/doc.en/*.html ${RUBY_MODDOCDIR}/
|
|
${INSTALL_DATA} ${WRKDIR_RACC}/doc.ja/*.html ${RUBY_MODDOCDIR}/ja/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|