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
|
2009-09-13 00:08:01 +00:00
|
|
|
PORTREVISION= 5
|
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-07-14 01:26:56 +00:00
|
|
|
USE_FORTRAN= yes
|
2007-01-17 00:38:34 +00:00
|
|
|
FORTRANLIBS= -lgfortranbegin -lgfortran
|
|
|
|
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_XORG= x11
|
2007-01-17 00:38:34 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2007-01-17 00:26:37 +00:00
|
|
|
|
2009-02-12 00:49:00 +00:00
|
|
|
BROKEN= Fails to compile with GCC 4.3
|
|
|
|
|
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
|
|
|
|
|
2007-10-01 09:44:46 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 700042
|
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile with GCC 4.2
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|