ports/graphics/goxel/Makefile
Alexey Dokuchaev ac2c13f327 graphics/goxel: update the port to version 0.15.0
Reported by:	portscout
2024-07-11 07:01:08 +00:00

35 lines
908 B
Makefile

PORTNAME= goxel
PORTVERSION= 0.15.0
DISTVERSIONPREFIX= v
CATEGORIES= graphics
MAINTAINER= danfe@FreeBSD.org
COMMENT= Free and open-source 3D voxel editor
WWW= https://goxel.xyz/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libglfw.so:graphics/glfw \
libpng.so:graphics/png
USES= compiler:c++17-lang gl pkgconfig scons
USE_GITHUB= yes
GH_ACCOUNT= guillaumechereau
USE_GL= gl
MAKE_ARGS= mode=release werror=false
DESKTOP_ENTRIES="Goxel" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Graphics;3DGraphics;" false
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.for n in 16 32 64 128 512 256 1024
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps
${INSTALL_DATA} ${WRKSRC}/osx/goxel/goxel/Assets.xcassets/AppIcon.appiconset/${n}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps/goxel.png
.endfor
.include <bsd.port.mk>