freebsd-ports/math/ruby-narray/Makefile
Akinori MUSHA 45e37d95c2 Update to 0.5.6p1.
Prepare a backup master site since bento failed to download in the
last try.
2002-03-30 08:44:31 +00:00

42 lines
965 B
Makefile

# New ports collection makefile for: Ruby-NArray
# Date created: 1 Feb 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= narray
PORTVERSION= 0.5.6p1
CATEGORIES= math ruby
MASTER_SITES= http://www.ir.isas.ac.jp/~masa/ruby/dist/ \
http://www.ruby-lang.org/~knu/backup/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
DOC_EN= ChangeLog README.en SPEC.en
DOC_JA= README.jp SPEC.jp
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOC_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.for f in ${DOC_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endfor
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/speed/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endif
.include <bsd.port.mk>