blob: 88449e9f67c1712191394356db05d0ea89e7d986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $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>
|