1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

46 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Ruby-BigFloat
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= bigfloat
2001-03-28 17:03:41 +00:00
PORTVERSION= 1.1.6
CATEGORIES= math ruby
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
DIST_SUBDIR= ruby
2001-03-28 17:03:41 +00:00
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= knu@FreeBSD.org
2000-09-07 14:39:47 +00:00
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
NO_WRKSUBDIR= yes
2000-09-07 14:39:47 +00:00
INSTALL_TARGET= site-install
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
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
.endif
.include <bsd.port.mk>