2000-08-12 20:09:41 +00:00
|
|
|
# New ports collection makefile for: Ruby-BigFloat
|
|
|
|
# Date created: 7 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
2000-08-07 06:09:19 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bigfloat
|
2001-03-28 17:03:41 +00:00
|
|
|
PORTVERSION= 1.1.6
|
2000-08-16 12:21:24 +00:00
|
|
|
CATEGORIES= math ruby
|
2000-08-07 06:09:19 +00:00
|
|
|
MASTER_SITES= http://www.tinyforest.gr.jp/ruby/
|
2000-09-07 14:39:47 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2001-03-28 17:03:41 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}.html ${PORTNAME}_en.html
|
2000-08-08 16:08:31 +00:00
|
|
|
DIST_SUBDIR= ruby
|
2001-03-28 17:03:41 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2000-08-07 06:09:19 +00:00
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
2000-09-07 14:39:47 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-07 10:08:41 +00:00
|
|
|
|
2000-08-07 06:09:19 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
2000-09-07 14:39:47 +00:00
|
|
|
INSTALL_TARGET= site-install
|
2000-08-07 06:09:19 +00:00
|
|
|
|
2001-03-28 17:03:41 +00:00
|
|
|
DOCS_EN= README ${PORTNAME}_en.html
|
|
|
|
DOCS_JA= ${PORTNAME}.html
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${RUBY} -pe 'gsub %r|\./(${PORTNAME}_en.html)|, "../\\1"' \
|
|
|
|
${_DISTDIR}/${PORTNAME}.html > ${WRKSRC}/${PORTNAME}.html
|
|
|
|
${RUBY} -pe 'gsub %r|\./(${PORTNAME}.html)|, "./ja/\\1"' \
|
|
|
|
${_DISTDIR}/${PORTNAME}_en.html > ${WRKSRC}/${PORTNAME}_en.html
|
|
|
|
|
2000-08-07 06:09:19 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-03-28 17:03:41 +00:00
|
|
|
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
|
|
|
.for f in ${DOCS_EN}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS_JA}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
|
|
|
.endfor
|
2000-08-07 06:09:19 +00:00
|
|
|
.endif
|
|
|
|
|
2000-09-26 08:02:17 +00:00
|
|
|
.include <bsd.port.mk>
|