1997-11-17 10:50:54 +00:00
|
|
|
# New ports collection makefile for: Kaskade
|
|
|
|
# Date created: 19 Sept. 1997
|
|
|
|
# Whom: Pedro Giffuni
|
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1997-11-17 10:50:54 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 23:24:42 +00:00
|
|
|
PORTNAME= kaskade
|
2003-11-14 22:51:45 +00:00
|
|
|
PORTVERSION= 3.2.1
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 2
|
2003-11-08 09:26:02 +00:00
|
|
|
CATEGORIES= math science
|
1999-07-03 06:57:00 +00:00
|
|
|
MASTER_SITES= ftp://ftp.zib.de/pub/kaskade/3.x/
|
2000-04-08 23:24:42 +00:00
|
|
|
DISTNAME= ${PORTVERSION}
|
1997-11-17 10:50:54 +00:00
|
|
|
|
2000-02-08 16:42:07 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= Adaptive linear scalar elliptic and parabolic problem solver
|
1997-11-17 10:50:54 +00:00
|
|
|
|
2007-01-17 00:26:37 +00:00
|
|
|
WANT_FORTRAN= yes #dummy but future use
|
|
|
|
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
|
|
|
F77= gfortran42
|
2007-01-17 00:38:34 +00:00
|
|
|
FORTRANLIBS= -lgfortranbegin -lgfortran
|
|
|
|
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2007-01-17 00:26:37 +00:00
|
|
|
|
2005-08-17 05:22:58 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-05-18 10:15:24 +00:00
|
|
|
|
1997-11-22 09:56:39 +00:00
|
|
|
DIST_SUBDIR= kaskade
|
2003-11-14 22:51:45 +00:00
|
|
|
WRKSRC= ${WRKDIR}/3.2.1
|
1997-11-17 10:50:54 +00:00
|
|
|
|
2007-01-29 01:35:46 +00:00
|
|
|
pre-configure:
|
2003-11-14 22:51:45 +00:00
|
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
${CP} ${FILESDIR}/configure ${WRKSRC}
|
2007-01-22 05:58:14 +00:00
|
|
|
@${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
|
2007-01-17 00:26:37 +00:00
|
|
|
@${REINPLACE_CMD} "s+%%F77%%+${F77}+" ${WRKSRC}/sources/configure
|
|
|
|
@${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" -e "s+%%FORTRANLIBS%%+${FORTRANLIBS}+" ${WRKSRC}/sources/makefile.in
|
|
|
|
@${REINPLACE_CMD} "s+%%F77%%+${F77}+" ${WRKSRC}/minigraph/configure
|
1997-11-17 10:50:54 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2003-11-14 22:51:45 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/*.cmd ${EXAMPLESDIR}
|
2005-08-17 05:22:58 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/*.dat ${EXAMPLESDIR}
|
2003-11-14 22:51:45 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/*.ex ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/*.geo ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/kaskade.init ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/*.mat ${EXAMPLESDIR}
|
1997-11-17 10:50:54 +00:00
|
|
|
.endif
|
|
|
|
|
2005-08-17 05:22:58 +00:00
|
|
|
.include <bsd.port.mk>
|