git: fff0b8f2f064 - main - cad/openvsp: Fix pkg-plist issue
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Oct 2025 19:09:32 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fff0b8f2f0649df32f8295ed543428715db17f6b
commit fff0b8f2f0649df32f8295ed543428715db17f6b
Author: Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2025-10-18 19:08:18 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2025-10-18 19:09:17 +0000
cad/openvsp: Fix pkg-plist issue
Move README.md to DATADIR.
While here add missing Xorg dependency
PR: 290279
Reported by: se@
---
cad/openvsp/Makefile | 5 ++++-
cad/openvsp/pkg-plist | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile
index ef2e1e543858..06f7ab68ceaa 100644
--- a/cad/openvsp/Makefile
+++ b/cad/openvsp/Makefile
@@ -1,6 +1,7 @@
PORTNAME= openvsp
DISTVERSIONPREFIX= ${GH_PROJECT}_
DISTVERSION= 3.46.0
+PORTREVISION= 1
CATEGORIES= cad
MAINTAINER= fernape@FreeBSD.org
@@ -42,7 +43,7 @@ BINARY_ALIAS= fltk::fluid=fluid
USE_GL= gl glew glu
USE_GNOME= libxml2
-USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft \
+USE_XORG= ice sm x11 xau xcb xcursor xdamage xdmcp xext xfixes xft \
xinerama xrender xxf86vm
CMAKE_ARGS= -DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \
@@ -79,6 +80,8 @@ do-install:
${RM} -rf ${STAGEDIR}${PREFIX}/${d}
.endfor
${CP} ${BUILD_WRKSRC}/${BUILD_PREFIX}/LICENSE ${STAGEDIR}${DATADIR}
+ ${CP} ${BUILD_WRKSRC}/${BUILD_PREFIX}/README.md ${STAGEDIR}${DATADIR}
${RM} ${STAGEDIR}${PREFIX}/LICENSE
+ ${RM} ${STAGEDIR}${PREFIX}/README.md
.include <bsd.port.mk>
diff --git a/cad/openvsp/pkg-plist b/cad/openvsp/pkg-plist
index a4b4cb9059d9..515f9b07c27e 100644
--- a/cad/openvsp/pkg-plist
+++ b/cad/openvsp/pkg-plist
@@ -1,6 +1,5 @@
CCE/SD-24L.cce
CHANGELOG.md
-README.md
bin/vsp
bin/vspaero
bin/vspaero_opt
@@ -46,6 +45,7 @@ help/vsp_help
%%DATADIR%%/OpenVSPParasiteDragPlotData.m
%%DATADIR%%/ParasiteDragScriptTest.vspscript
%%DATADIR%%/PodMan.vsppart
+%%DATADIR%%/README.md
%%DATADIR%%/Seat.vsppart
%%DATADIR%%/SeatGroup.vsppart
%%DATADIR%%/SharkTeeth.tga