diff options
author | thierry <thierry@FreeBSD.org> | 2008-07-25 23:31:16 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2008-07-25 23:31:16 +0800 |
commit | c473e293538752e0b240b776198fa4b510eb4672 (patch) | |
tree | 06ba5ecca412974a8f8b297170632482c69c1340 /cad/gmsh/Makefile | |
parent | a3df0702e0405ca32c5edf7b6c1b09d506d6e2c8 (diff) | |
download | freebsd-ports-gnome-c473e293538752e0b240b776198fa4b510eb4672.tar.gz freebsd-ports-gnome-c473e293538752e0b240b776198fa4b510eb4672.tar.zst freebsd-ports-gnome-c473e293538752e0b240b776198fa4b510eb4672.zip |
- Upgrade to 2.2.3
Changelog at <http://geuz.org/gmsh/doc/VERSIONS.txt>
- Set USE_FORTRAN to fix blas & lacpack detection;
- Respetct NOPORTEXAMPLES.
Diffstat (limited to 'cad/gmsh/Makefile')
-rw-r--r-- | cad/gmsh/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile index f7636b0c270a..1747d5b79f2e 100644 --- a/cad/gmsh/Makefile +++ b/cad/gmsh/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gmsh -PORTVERSION= 2.2.2 +PORTVERSION= 2.2.3 CATEGORIES= cad MASTER_SITES= http://www.geuz.org/gmsh/src/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source @@ -25,6 +25,7 @@ TETGEN_PORTDIR= ${PORTSDIR}/math/tetgen TETGEN_SRC= predicates.cxx tetgen.cxx tetgen.h .endif +USE_FORTRAN= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fltk-prefix=${LOCALBASE} \ @@ -32,6 +33,7 @@ CONFIGURE_ARGS= --with-fltk-prefix=${LOCALBASE} \ --with-med-prefix=${LOCALBASE} \ --with-jpeg-prefix=${LOCALBASE} \ --with-png-prefix=${LOCALBASE} +CONFIGURE_ENV= F77=${F77} USE_GMAKE= yes ALL_TARGET= all utils @@ -60,6 +62,14 @@ CONFIGURE_ARGS+= --enable-cgns --with-cgns-prefix=${LOCALBASE} CONFIGURE_ARGS+= --disable-cgns .endif +# For FourierModel +.if defined(WITH_FFTW3) +LIB_DEPENDS+= fftw3.4:${PORTSDIR}/math/fftw3 +CONFIGURE_ARGS+= --enable-fftw3 --with-fftw3-prefix=${LOCALBASE} +.else +CONFIGURE_ARGS+= --disable-fftw3 +.endif + .if defined(WITH_OCC) LIB_DEPENDS+= TKernel.0:${PORTSDIR}/cad/opencascade CONFIGURE_ARGS+= --enable-occ --with-occ-prefix=${LOCALBASE}/OpenCAS/ros @@ -71,6 +81,8 @@ CONFIGURE_ARGS+= --disable-occ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PKGMESSAGE= ${WRKDIR}/pkg-message +PORTDOCS= CREDITS.txt FAQ.txt VERSIONS.txt gmsh.html + MAN1= gmsh.1 pre-everything:: @@ -123,9 +135,11 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/doc/gmsh.1 ${MANPREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR} cd ${WRKSRC} && ${FIND} tutorial | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC} && ${FIND} demos ! -name "*.bak" | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} |