aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-10-15 03:53:58 +0800
committerantoine <antoine@FreeBSD.org>2013-10-15 03:53:58 +0800
commit12d2f484344e96ba6c0e373fefd117a3785135d8 (patch)
tree6cb2e7ba3a64275b2d962ed9fd48956cb2f8c941 /cad
parent75d824f414c130fc64be6ea559d2c20fc37bed12 (diff)
downloadfreebsd-ports-gnome-12d2f484344e96ba6c0e373fefd117a3785135d8.tar.gz
freebsd-ports-gnome-12d2f484344e96ba6c0e373fefd117a3785135d8.tar.zst
freebsd-ports-gnome-12d2f484344e96ba6c0e373fefd117a3785135d8.zip
Update to 2.2.5
Fixes/features in this release: Save CFD export options. Automatically add *.vsp extension when saving. Add *.ram files to file-open dialog. Write propellers to XSec *.hrm files. Fixed PovRay *.inc file bug. Fix FEA elements not getting written. Fix 64-bit GLFont support and embed font in executable. Fix parameter linking and design files for propeller. While here: - Use MASTER_SITES=GH as the distfile is not on GHC - Add LICENSE - Use new LIB_DEPENDS syntax - Convert to STAGEDIR PR: ports/182974 Submitted by: maintainer
Diffstat (limited to 'cad')
-rw-r--r--cad/openvsp/Makefile39
-rw-r--r--cad/openvsp/distinfo4
2 files changed, 24 insertions, 19 deletions
diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile
index 195da4569c2f..ead60b306c4d 100644
--- a/cad/openvsp/Makefile
+++ b/cad/openvsp/Makefile
@@ -2,27 +2,33 @@
# $FreeBSD$
PORTNAME= openvsp
-PORTVERSION= 2.2.4
+PORTVERSION= 2.2.5
CATEGORIES= cad
+MASTER_SITES= GH
MAINTAINER= fernando.apesteguia@gmail.com
COMMENT= Create a 3D model of an aircraft defined by engineering parameters
+LICENSE= NOSA13
+LICENSE_NAME= NASA Open Source Agreement version 1.3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
BUILD_DEPENDS= ${LOCALBASE}/lib/libopenNURBS.a:${PORTSDIR}/graphics/opennurbs
-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
+LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libdrm.so:${PORTSDIR}/graphics/libdrm \
+ libpng15.so:${PORTSDIR}/graphics/png \
+ libfreetype.so:${PORTSDIR}/print/freetype2 \
+ libexpat.so:${PORTSDIR}/textproc/expat2 \
+ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
+ libfltk.so:${PORTSDIR}/x11-toolkits/fltk
USE_GITHUB= yes
GH_PROJECT= OpenVSP
GH_ACCOUNT= ${GH_PROJECT}
GH_TAGNAME= ${GH_PROJECT}_${PORTVERSION}
-GH_COMMIT= 5e7532c
+GH_COMMIT= 4c359c8
CMAKE_SOURCE_PATH= ${WRKSRC}/src
USES= cmake:outsource iconv
@@ -31,21 +37,20 @@ USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft \
xinerama xrender xxf86vm
USE_GL= glu
USE_GNOME= libxml2
-
-PORTEXAMPLES= *
+CFLAGS+= -I${LOCALBASE}/include/openNURBS
PLIST_FILES= bin/vsp
+PORTEXAMPLES= *
-CFLAGS+= -I${LOCALBASE}/include/openNURBS
+OPTIONS_DEFINE= EXAMPLES
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/vsp/vsp ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/vsp/vsp ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.endif
.include <bsd.port.mk>
diff --git a/cad/openvsp/distinfo b/cad/openvsp/distinfo
index 94a6c9f9c34d..1d90611a5b22 100644
--- a/cad/openvsp/distinfo
+++ b/cad/openvsp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (openvsp-2.2.4.tar.gz) = ea6e4f569e10675b8835562034db8539f99ded6e8c6131552c78ac61b3aab74f
-SIZE (openvsp-2.2.4.tar.gz) = 2924160
+SHA256 (openvsp-2.2.5.tar.gz) = 8bfa9cd89798315e7e4b314f5bdaa0fe7408ae594be2a19c5f01be0e73573736
+SIZE (openvsp-2.2.5.tar.gz) = 2934729