diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2003-07-23 14:21:51 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2003-07-23 14:21:51 +0000 |
commit | 45668ed7f6685f36cf4969da827a12a08213ee4f (patch) | |
tree | dafee3de04ac462c973c5c0d08e17313e33ea5f2 /cad/gmsh/Makefile | |
parent | - update CATEGORIES (diff) |
Add gmsh 1.45.1, an automatic 3D finite element mesh generator.
PR: 52201
Submitted by: Pedro Giffuni <giffunip@yahoo.com>
Diffstat (limited to '')
-rw-r--r-- | cad/gmsh/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile new file mode 100644 index 000000000000..ac721970c059 --- /dev/null +++ b/cad/gmsh/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: gmsh +# Date created: 19 April 2003 +# Whom: Pedro Giffuni <giffunip@yahoo.com> +# +# $FreeBSD$ +# + +PORTNAME= gmsh +PORTVERSION= 1.45.1 +CATEGORIES= cad +MASTER_SITES= http://www.geuz.org/gmsh/src/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-source +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org +COMMENT= An automatic 3D finite element mesh generator + +LIB_DEPENDS= gsl.4:${PORTSDIR}/math/gsl \ + fltk.1:${PORTSDIR}/x11-toolkits/fltk + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-fltk-prefix=${X11BASE} \ + --with-gsl-prefix=${LOCALBASE} \ + --with-jpeg-prefix=${LOCALBASE} \ + --with-png-prefix=${LOCALBASE} +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +ALL_TARGET= all converters + +MAN1= gmsh.1 + +post-install: + @${STRIP_CMD} ${PREFIX}/bin/gmsh + ${INSTALL_PROGRAM} ${WRKSRC}/bin/dxf2geo ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/tutorial + ${INSTALL_DATA} ${WRKSRC}/tutorial/* ${DOCSDIR}/tutorial + ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCSDIR} + ${MKDIR} ${EXAMPLESDIR}/demos + ${INSTALL_DATA} ${WRKSRC}/demos/* ${EXAMPLESDIR}/demos +.endif + +.include <bsd.port.mk> |