2003-06-03 06:05:13 +02:00
|
|
|
# New ports collection makefile for: algae
|
|
|
|
# Date created: 18 May 2003
|
|
|
|
# Whom: Michael Neumann <mneumann@ntecs.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= algae
|
2005-10-19 17:00:50 +02:00
|
|
|
PORTVERSION= 4.3.6
|
2010-09-15 20:35:24 +02:00
|
|
|
PORTREVISION= 4
|
2003-06-03 06:05:13 +02:00
|
|
|
CATEGORIES= math
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2003-06-03 06:05:13 +02:00
|
|
|
|
2008-08-19 11:18:37 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-06-03 06:05:13 +02:00
|
|
|
COMMENT= A programming language for numerical analysis
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf
|
2003-06-03 06:05:13 +02:00
|
|
|
|
|
|
|
ALGAE_VERSION= ${PORTVERSION}
|
|
|
|
PLIST_SUB= ALGAE_VERSION=${ALGAE_VERSION}
|
|
|
|
|
2005-10-19 17:00:50 +02:00
|
|
|
MAN1= algae.1
|
|
|
|
INFO= algae
|
|
|
|
|
2007-07-17 02:22:36 +02:00
|
|
|
USE_FORTRAN= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L`${CAT} ${WRKSRC}/LIBDIR`/../../.. -L`${CAT} ${WRKSRC}/LIBDIR` -L${LOCALBASE}/lib
|
2007-01-16 06:45:52 +01:00
|
|
|
FORTRANLIBS= gfortranbegin gfortran
|
|
|
|
|
2005-10-19 17:00:50 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,g' \
|
|
|
|
${WRKSRC}/src/mem.h \
|
|
|
|
${WRKSRC}/superlu/sp_coletree.c \
|
|
|
|
${WRKSRC}/superlu/util.h
|
2003-06-03 06:05:13 +02:00
|
|
|
|
2007-01-16 06:45:52 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,%%FORTRANLIBS%%,${FORTRANLIBS},g' \
|
|
|
|
${WRKSRC}/configure.in
|
|
|
|
|
|
|
|
pre-configure:
|
2007-01-16 06:50:07 +01:00
|
|
|
@${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
|
2007-01-16 06:45:52 +01:00
|
|
|
|
2004-02-23 04:50:21 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2011-11-10 06:38:32 +01:00
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on ia64, powerpc, or sparc64
|
2006-11-05 22:08:41 +01:00
|
|
|
.endif
|
|
|
|
|
2004-02-23 04:50:21 +01:00
|
|
|
.include <bsd.port.post.mk>
|