1997-11-17 11:50:54 +01:00
|
|
|
# New ports collection makefile for: Kaskade
|
|
|
|
# Date created: 19 Sept. 1997
|
|
|
|
# Whom: Pedro Giffuni
|
|
|
|
#
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1997-11-17 11:50:54 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= kaskade
|
2003-11-14 23:51:45 +01:00
|
|
|
PORTVERSION= 3.2.1
|
2009-09-13 02:08:01 +02:00
|
|
|
PORTREVISION= 5
|
2003-11-08 10:26:02 +01:00
|
|
|
CATEGORIES= math science
|
1999-07-03 08:57:00 +02:00
|
|
|
MASTER_SITES= ftp://ftp.zib.de/pub/kaskade/3.x/
|
2000-04-09 01:24:42 +02:00
|
|
|
DISTNAME= ${PORTVERSION}
|
1997-11-17 11:50:54 +01:00
|
|
|
|
2000-02-08 17:42:07 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Adaptive linear scalar elliptic and parabolic problem solver
|
1997-11-17 11:50:54 +01:00
|
|
|
|
2007-07-14 03:26:56 +02:00
|
|
|
USE_FORTRAN= yes
|
2007-01-17 01:38:34 +01: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 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
2007-01-17 01:38:34 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-01-17 01:26:37 +01:00
|
|
|
|
2009-02-12 01:49:00 +01:00
|
|
|
BROKEN= Fails to compile with GCC 4.3
|
|
|
|
|
1997-11-22 10:56:39 +01:00
|
|
|
DIST_SUBDIR= kaskade
|
2003-11-14 23:51:45 +01:00
|
|
|
WRKSRC= ${WRKDIR}/3.2.1
|
1997-11-17 11:50:54 +01:00
|
|
|
|
2007-01-29 02:35:46 +01:00
|
|
|
pre-configure:
|
2003-11-14 23:51:45 +01:00
|
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
${CP} ${FILESDIR}/configure ${WRKSRC}
|
2007-01-22 06:58:14 +01:00
|
|
|
@${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
|
2007-01-17 01:26:37 +01: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 11:50:54 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2003-11-14 23:51:45 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/*.cmd ${EXAMPLESDIR}
|
2005-08-17 07:22:58 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/*.dat ${EXAMPLESDIR}
|
2003-11-14 23:51:45 +01: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 11:50:54 +01:00
|
|
|
.endif
|
|
|
|
|
2007-10-01 11:44:46 +02: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>
|