mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
f0f6dd0f19
- MASTER_SITES to rubyforge PR: ports/104372 [1] Submitted by: Shin'ya Murakami <murakami_AT_ahs dot scitec dot kobe-u dot ac dot jp> [1]
43 lines
949 B
Makefile
43 lines
949 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.9
|
|
CATEGORIES= math ruby
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Numerical N-dimensional array library for Ruby
|
|
|
|
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.ja SPEC.ja
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
.for f in ${DOC_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.for f in ${DOC_JA}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
|
.endfor
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/speed/*.rb ${RUBY_MODEXAMPLESDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|