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
|
2009-01-07 17:34:27 +01:00
|
|
|
PORTREVISION= 2
|
2003-06-03 06:05:13 +02:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
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
|
2008-08-20 02:57:32 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:262
|
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
|
2009-01-10 12:00:35 +01:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="${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>
|
|
|
|
|
2009-01-05 22:05:49 +01:00
|
|
|
.if ${ARCH} == "alpha" || ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Configure fails on alpha and sparc64
|
2006-11-05 22:08:41 +01:00
|
|
|
.endif
|
|
|
|
|
2004-02-23 04:50:21 +01:00
|
|
|
.include <bsd.port.post.mk>
|