1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net/ruby-mpi/Makefile
Pav Lucistnik 3a154ed776 MPI Ruby is a Ruby binding of MPI. The primary goal in making this binding was
to make the power of MPI available to Ruby users in a way that fits into the
language's object oriented model.  In order to do this, the buffer and datatype
management necessary in the C, C++, and Fortran bindings have been removed.
What this means is that MPI Ruby allows you to treat objects as messages.

PR:		ports/80310
Submitted by:	Michael Neumann <mneumann@ntecs.de>
2005-06-12 22:18:40 +00:00

49 lines
1.4 KiB
Makefile

# New ports collection makefile for: ruby-mpi
# Date created: 2005 Apr 24
# Whom: mneumann@ntecs.de
#
# $FreeBSD$
#
PORTNAME= mpi
PORTVERSION= 0.4
CATEGORIES= net ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}ruby
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}_ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= mneumann@ntecs.de
COMMENT= Ruby binding of MPI (Message Passing Interface)
BUILD_DEPENDS= ${LOCALBASE}/mpich/lib/libmpich.a:${PORTSDIR}/net/mpich
USE_BZIP2= yes
USE_RUBY= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --with-mpi-path=${LOCALBASE}/mpich
MAN1= mpi_ruby.1
MAN3= MPI_Comm.3 MPI_Exception.3 MPI_Group.3 MPI_Keyval.3 MPI_Op.3 MPI_Request.3 \
MPI_Ruby.3 MPI_Status.3
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mpi_ruby ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/man/man1/*.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/docs/man/man3/*.3 ${PREFIX}/man/man3
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${MKDIR} ${RUBY_MODDOCDIR}
${MKDIR} ${RUBY_MODDOCDIR}/html
${MKDIR} ${RUBY_MODDOCDIR}/rd
${CP} ${WRKSRC}/examples/*.rb ${RUBY_MODEXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/docs/MPI \
${RUBY_MODDOCDIR}/
${INSTALL_DATA} ${WRKSRC}/docs/html/*.html ${RUBY_MODDOCDIR}/html/
${INSTALL_DATA} ${WRKSRC}/docs/rd/*.rd ${RUBY_MODDOCDIR}/rd/
.endif
.include <bsd.port.mk>