Bug 182974 - [maintainer update] update cad/openvsp to 2.2.5
Summary: [maintainer update] update cad/openvsp to 2.2.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-14 17:20 UTC by Fernando Apesteguía
Modified: 2013-10-14 21:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.70 KB, patch)
2013-10-14 17:20 UTC, Fernando Apesteguía
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Apesteguía freebsd_committer 2013-10-14 17:20:03 UTC
Update cad/openvsp to 2.2.5
It also makes the project work with the new STAGEDIR feature.

From the upstream project:

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.

Fix: Apply the attached patch.

Tested in redports:

https://redports.org/~fernape/20131012075401-20350-151568/openvsp-2.2.5.log
https://redports.org/~fernape/20131012075401-20350-151569/openvsp-2.2.5.log

Patch attached with submission follows:
Comment 1 Antoine Brodin freebsd_committer 2013-10-14 19:29:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->antoine

Take
Comment 2 dfilter service freebsd_committer 2013-10-14 20:54:06 UTC
Author: antoine
Date: Mon Oct 14 19:53:58 2013
New Revision: 330349
URL: http://svnweb.freebsd.org/changeset/ports/330349

Log:
  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

Modified:
  head/cad/openvsp/Makefile
  head/cad/openvsp/distinfo

Modified: head/cad/openvsp/Makefile
==============================================================================
--- head/cad/openvsp/Makefile	Mon Oct 14 19:50:26 2013	(r330348)
+++ head/cad/openvsp/Makefile	Mon Oct 14 19:53:58 2013	(r330349)
@@ -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 xdm
 		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>

Modified: head/cad/openvsp/distinfo
==============================================================================
--- head/cad/openvsp/distinfo	Mon Oct 14 19:50:26 2013	(r330348)
+++ head/cad/openvsp/distinfo	Mon Oct 14 19:53:58 2013	(r330349)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Antoine Brodin freebsd_committer 2013-10-14 20:56:41 UTC
State Changed
From-To: open->closed

Port updated, thanks!