Files
ports/graphics/dust3d/Makefile
T
Alexey Dokuchaev 9237f1a954 graphics/dust3d: update the port to version 1.1.6
- GC no longer applicable patches, BROKEN_aarch64,
  and dependencies after CGAL-based mesh code was
  replaced with built-in algorithm (since version
  1.0.0-rc.7)
- Replace banal hand-rolled `do-configure' recipe
  with USES+=qmake, refine COMMENT text, etc.
- Install provided icon and .desktop file instead
  of specifying nearly identical DESKTOP_ENTRIES

PR:		295221
Submitted by:	Alastair Hogge
Reported by:	portscout
2026-06-30 05:33:10 +00:00

37 lines
940 B
Makefile

PORTNAME= dust3d
PORTVERSION= 1.1.6
CATEGORIES= graphics
MAINTAINER= danfe@FreeBSD.org
COMMENT= Low polygon 3D modeling tool
WWW= https://dust3d.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/../LICENSE
USES= compiler:c++17-lang gmake qmake qt:5
USE_GITHUB= yes
GH_ACCOUNT= huxingyi
USE_QT= buildtools:build \
core gui multimedia network opengl svg widgets
WRKSRC_SUBDIR= application
PLIST_FILES= bin/${PORTNAME} share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png
PORTSCOUT= skipv:unstable
post-patch:
@${REINPLACE_CMD} -e '/PLATFORM =/s,Linux,${OPSYS},' \
${PATCH_WRKSRC}/application.pro
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${INSTALL_WRKSRC}/../ci/appimage/${PORTNAME}.desktop \
${STAGEDIR}${DESKTOPDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/../ci/appimage/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>