diff options
author | pawel <pawel@FreeBSD.org> | 2012-04-22 20:06:12 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-04-22 20:06:12 +0800 |
commit | a2b01269134238bffb86b56a8b3eeb820ba80bdf (patch) | |
tree | 8057ea863d064d637dbad3073bf55d353527d9b4 /cad/openvsp | |
parent | 60e3f9ee2d27bf45d0de05fbb6cebf9f8c808e3e (diff) | |
download | freebsd-ports-gnome-a2b01269134238bffb86b56a8b3eeb820ba80bdf.tar.gz freebsd-ports-gnome-a2b01269134238bffb86b56a8b3eeb820ba80bdf.tar.zst freebsd-ports-gnome-a2b01269134238bffb86b56a8b3eeb820ba80bdf.zip |
NASA Open Source Parametric Geometry
OpenVSP allows the user to create a 3D model of an aircraft defined by
common engineering parameters. This model can be processed into
formats suitable for engineering analysis.
WWW: http://www.openvsp.org/
PR: ports/166825
Submitted by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
Diffstat (limited to 'cad/openvsp')
-rw-r--r-- | cad/openvsp/Makefile | 46 | ||||
-rw-r--r-- | cad/openvsp/distinfo | 2 | ||||
-rw-r--r-- | cad/openvsp/files/patch-xmlvsp-CMakeLists.txt | 11 | ||||
-rw-r--r-- | cad/openvsp/pkg-descr | 7 |
4 files changed, 66 insertions, 0 deletions
diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile new file mode 100644 index 000000000000..148e7d4d6931 --- /dev/null +++ b/cad/openvsp/Makefile @@ -0,0 +1,46 @@ +# Port makefile for: openvsp +# Date created: Apr 10 2012 +# Whom: Fernando Apesteguia <fernando.apesteguia@gmail.com> +# +# $FreeBSD$ + +PORTNAME= openvsp +PORTVERSION= 2.0 +CATEGORIES= cad +MASTER_SITES= https://nodeload.github.com/OpenVSP/OpenVSP/tarball/ +DISTNAME= OpenVSP_${PORTVERSION}_Community + +MAINTAINER= fernando.apesteguia@gmail.com +COMMENT= Create a 3D model of an aircraft defined by engineering parameters + +BUILD_DEPENDS= ${LOCALBASE}/lib/libopenNURBS.a:${PORTSDIR}/graphics/opennurbs + +LIB_DEPENDS+= fltk:${PORTSDIR}/x11-toolkits/fltk +LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS+= png:${PORTSDIR}/graphics/png + +WRKSRC= ${WRKDIR}/OpenVSP-OpenVSP-574d7c3/src + +USE_CMAKE= yes +USE_DOS2UNIX= yes +USE_XORG= xinerama xft +USE_GNOME= libxml2 + +PORTEXAMPLES= * +INSTALL_PORTEXAMPLES= @(cd ${WRKSRC}/../examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) + +PLIST_FILES= bin/vsp + +CFLAGS+= -I${LOCALBASE}/include/openNURBS + +do-fetch: + ${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}.tar.gz ${MASTER_SITES}${DISTNAME} + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/vsp/vsp ${PREFIX}/bin +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_PORTEXAMPLES} +.endif + +.include <bsd.port.mk> diff --git a/cad/openvsp/distinfo b/cad/openvsp/distinfo new file mode 100644 index 000000000000..28a2efe73be9 --- /dev/null +++ b/cad/openvsp/distinfo @@ -0,0 +1,2 @@ +SHA256 (OpenVSP_2.0_Community.tar.gz) = 7086327a60d5952ef3e5780e99d4313f2a10a7f713b35470e104e07fccb6e856 +SIZE (OpenVSP_2.0_Community.tar.gz) = 2876175 diff --git a/cad/openvsp/files/patch-xmlvsp-CMakeLists.txt b/cad/openvsp/files/patch-xmlvsp-CMakeLists.txt new file mode 100644 index 000000000000..5589855a9c8c --- /dev/null +++ b/cad/openvsp/files/patch-xmlvsp-CMakeLists.txt @@ -0,0 +1,11 @@ +--- /home/fernape/porting/openvsp/original/OpenVSP_2.0_community_src/src/xmlvsp/CMakeLists.txt 2012-04-04 21:03:54.000000000 +0200 ++++ xmlvsp/CMakeLists.txt 2012-04-04 20:29:08.000000000 +0200 +@@ -2,7 +2,7 @@ + + FIND_PACKAGE(LibXml2 REQUIRED) + +-INCLUDE_DIRECTORIES( ${LIBXML2_INCLUDE_DIR}) ++INCLUDE_DIRECTORIES( ${LIBXML2_INCLUDE_DIR} /usr/local/include) + + SET(XMLVSP_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE PATH "Path to XML wrapper header.") + diff --git a/cad/openvsp/pkg-descr b/cad/openvsp/pkg-descr new file mode 100644 index 000000000000..2fb3180d2505 --- /dev/null +++ b/cad/openvsp/pkg-descr @@ -0,0 +1,7 @@ +NASA Open Source Parametric Geometry + +OpenVSP allows the user to create a 3D model of an aircraft defined by +common engineering parameters. This model can be processed into +formats suitable for engineering analysis. + +WWW: http://www.openvsp.org/ |