aboutsummaryrefslogtreecommitdiff
path: root/science/gerris/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-01-14 09:12:31 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-01-14 09:12:31 +0000
commit337f8be6fbb9eac290c51ddebc4e310bb44f6755 (patch)
tree532959569c9e355cc6adb7ec3f669425e5f33f2f /science/gerris/Makefile
parentc7634dfb2fed8a2ffac9ccd8349566c18a33309d (diff)
Notes
Diffstat (limited to 'science/gerris/Makefile')
-rw-r--r--science/gerris/Makefile55
1 files changed, 18 insertions, 37 deletions
diff --git a/science/gerris/Makefile b/science/gerris/Makefile
index cf6034bee73c..b10a6cfb0408 100644
--- a/science/gerris/Makefile
+++ b/science/gerris/Makefile
@@ -6,48 +6,29 @@
# $FreeBSD$
#
-PORTNAME= gerris
-PORTVERSION= 0.6.0
-PORTREVISION= 7
-CATEGORIES= science math
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= gfs
+PORTNAME= gerris
+PORTVERSION= 0.9.2
+CATEGORIES= science math
+MASTER_SITES= SF/gfs
-PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:sf/} \
- http://members.aon.at/odi/downloads/patches/:odunkl
-PATCH_SITE_SUBDIR= gfs/:sf
-PATCHFILES= gerris-0.6-patch-1.gz:sf,odunkl \
- gerris-0.6-patch-2.gz:odunkl
-PATCH_DIST_STRIP= -p1
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A scientific CFD simulator
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A scientific CFD simulator
+LIB_DEPENDS= gts.5:${PORTSDIR}/graphics/gts
-LIB_DEPENDS= gts.5:${PORTSDIR}/graphics/gts
+USE_GNOME= glib20 gnomehack pkgconfig
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-mpi
+USE_LDCONFIG= yes
-.if !defined(WITHOUT_DX)
+.if defined(WITHOUT_DX)
+CONFIGURE_ARGS+= --disable-dx
+PLIST_SUB+= DX="@comment "
+.else
BUILD_DEPENDS+= dx:${PORTSDIR}/graphics/opendx
RUN_DEPENDS+= dx:${PORTSDIR}/graphics/opendx
-.else
-CONFIGURE_ARGS+= --disable-dx
-.endif
-
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-USE_GNOME= pkgconfig
-
-CONFIGURE_ARGS+= --disable-mpi
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN= does not compile
+PLIST_SUB+= DX=""
.endif
-post-patch:
- @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
- ${WRKSRC}/src/Makefile.in
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>