aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cad/openvsp/Makefile32
-rw-r--r--cad/openvsp/distinfo4
2 files changed, 21 insertions, 15 deletions
diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile
index e8e42c5f67aa..f1951bf8a76c 100644
--- a/cad/openvsp/Makefile
+++ b/cad/openvsp/Makefile
@@ -1,28 +1,33 @@
-# Port makefile for: openvsp
-# Date created: Apr 10 2012
-# Whom: Fernando Apesteguia <fernando.apesteguia@gmail.com>
-#
+# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
# $FreeBSD$
PORTNAME= openvsp
-PORTVERSION= 2.2.0
+PORTVERSION= 2.2.1
CATEGORIES= cad
-MASTER_SITES= https://nodeload.github.com/OpenVSP/OpenVSP/tarball/OpenVSP_${PORTVERSION}
+MASTER_SITES= https://github.com/OpenVSP/OpenVSP/archive/
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+= png15:${PORTSDIR}/graphics/png
-
-WRKSRC= ${WRKDIR}/OpenVSP-OpenVSP-1c0609f/src
+LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
+ jpeg:${PORTSDIR}/graphics/jpeg \
+ drm:${PORTSDIR}/graphics/libdrm \
+ png15:${PORTSDIR}/graphics/png \
+ freetype:${PORTSDIR}/print/freetype2 \
+ expat:${PORTSDIR}/textproc/expat2 \
+ fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
+ fltk:${PORTSDIR}/x11-toolkits/fltk \
+ xcb:${PORTSDIR}/x11/libxcb
+WRKSRC= ${WRKDIR}/OpenVSP-OpenVSP_${PORTVERSION}/src
USE_CMAKE= yes
USE_DOS2UNIX= yes
-USE_XORG= xinerama xft
+USE_ICONV= yes
+USE_XORG= ice sm x11 xau xdamage xdmcp xext xfixes xft \
+ xinerama xrender xxf86vm
+USE_GL= glu
USE_GNOME= libxml2
PORTEXAMPLES= *
@@ -34,7 +39,8 @@ CFLAGS+= -I${LOCALBASE}/include/openNURBS
do-fetch:
if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
- ${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${MASTER_SITES}; \
+ ${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
+ ${MASTER_SITES}OpenVSP_${PORTVERSION}${EXTRACT_SUFX}; \
fi
do-install:
diff --git a/cad/openvsp/distinfo b/cad/openvsp/distinfo
index 460bba2518e2..5f176801b06e 100644
--- a/cad/openvsp/distinfo
+++ b/cad/openvsp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (openvsp-2.2.0.tar.gz) = 356b3e2abe0650d35872654436da143c79544123268e5b27598f0649ec67af6a
-SIZE (openvsp-2.2.0.tar.gz) = 2915665
+SHA256 (openvsp-2.2.1.tar.gz) = 563626dc839052b8b4bfb75d1e10c4966a79d4e8bb7d1ca51a2302c2793623f4
+SIZE (openvsp-2.2.1.tar.gz) = 2916214