mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 18:06:27 -04:00
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= goxel
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.8.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= greg@unrelenting.technology
|
|
COMMENT= Free and Open Source 3D Voxel Editor
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libargp.so:devel/argp-standalone \
|
|
libglfw.so:graphics/glfw \
|
|
libpng.so:graphics/png
|
|
|
|
USES= compiler:c++11-lang pkgconfig scons gnome gl
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= guillaumechereau
|
|
USE_GNOME= cairo gtk30
|
|
USE_GL= gl
|
|
|
|
INSTALLS_ICONS= yes
|
|
MAKE_ARGS= debug=0 werror=0
|
|
DESKTOP_ENTRIES="Goxel" "${COMMENT}" "${PORTNAME}" \
|
|
"${PORTNAME}" "Graphics;3DGraphics;" false
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} != amd64 && ${ARCH} != i386
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's/-msse2 //g' ${WRKSRC}/SConstruct
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
.for SZ in 32 64 256
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps
|
|
${INSTALL_DATA} ${WRKSRC}/osx/goxel/goxel/Assets.xcassets/AppIcon.appiconset/${SZ}.png \
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/goxel.png
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|