3c088f1b9a
ports. They will be removed on or after that date if they are still broken and no fix has been submitted to GNATS.
53 lines
1.0 KiB
Makefile
53 lines
1.0 KiB
Makefile
# New ports collection makefile for: flex_rb
|
|
# Date created: 20 July 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= flex_rb
|
|
PORTVERSION= 0.10
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://www.inf.bme.hu/~pts/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
COMMENT= Ruby flex regular expression matching extension
|
|
|
|
BROKEN= Does not compile
|
|
EXPIRATION_DATE=2004-08-20
|
|
DEPRECATED= ${BROKEN}
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
DOCS= README
|
|
EXAMPLES= examples/*.rb test*.rb
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} != "i386"
|
|
BROKEN= "Does not compile on !i386"
|
|
.endif
|
|
|
|
post-patch:
|
|
${RUBY} -i -pe 'gsub /-ansi\b/, ""' ${WRKSRC}/${RUBY_EXTCONF}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
.for f in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
|
|
.endfor
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|