pkgsrc-wip/py-formex/Makefile
Kamel Ibn Aziz Derouiche 0bdbeb9f47 Import py27-formex-0.8.5 as wip/py-formex.
pyFormex is a program for generating, transforming and manipulating large
geometrical models of 3D structures by sequences of mathematical operations.
Thanks to a powerful (Python based) scripting language, pyFormex is very well
suited for the automated design of spatial frame structures. It provides a wide
range of operations on surface meshes, like STL type triangulated surfaces.
There are provisions to import medical scan images. pyFormex can also be used
as a pre- and post-processor for Finite  Element analysis programs. Finally,
it might be used just for creating some nice graphics. Using pyFormex,
the topology of the elements and the final geometrical form can be decoupled.
Often, topology is created first and then mapped onto the geometry. Through the
scripting language, the user can define any sequence of transformations, built
from provided or user defined functions. This way, building parametric models
becomes a natural thing
2012-01-24 21:40:34 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2012/01/24 21:40:34 jihbed Exp $
#
DISTNAME= pyformex-0.8.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
CATEGORIES= graphics math python
MASTER_SITES= http://download.savannah.gnu.org/releases/pyformex/
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= http://pyformex.berlios.de/
COMMENT= Tool to generate and manipulate complex 3D geometries
LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-OpenGL>=3.0.1:../../graphics/py-OpenGL
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= bash
USE_LANGUAGES= c c++
PYDISTUTILSPKG= yes
REPLACE_BASH+= pyformex-search
SUBST_CLASSES+= suffix
SUBST_STAGE.suffix= pre-configure
SUBST_SED.suffix+= -e 's,python configure_py,python${PYVERSSUFFIX} configure_py,g'
SUBST_FILES.suffix+= pyformex/lib/configure
SUBST_MESSAGE.suffix= Fixing header search suffix.
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glut/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/py-qt4/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"