Index: head/graphics/Makefile =================================================================== --- head/graphics/Makefile +++ head/graphics/Makefile @@ -292,6 +292,7 @@ SUBDIR += goocanvasmm2 SUBDIR += goom SUBDIR += gource + SUBDIR += goxel SUBDIR += gpaint SUBDIR += gphoto2 SUBDIR += gpicview Index: head/graphics/goxel/Makefile =================================================================== --- head/graphics/goxel/Makefile +++ head/graphics/goxel/Makefile @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= goxel +DISTVERSIONPREFIX= v +DISTVERSION= 0.7.1-70 +DISTVERSIONSUFFIX= -g193eded +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 \ + libpng16.so:graphics/png + +USES= compiler:c++11-lang pkgconfig scons +USE_GITHUB= yes +GH_ACCOUNT= guillaumechereau +USE_GNOME= cairo gtk30 +USE_GL= gl + +INSTALLS_ICONS= yes +MAKE_ARGS= clang=1 debug=0 + +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 + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} + +.include Index: head/graphics/goxel/distinfo =================================================================== --- head/graphics/goxel/distinfo +++ head/graphics/goxel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1506893291 +SHA256 (guillaumechereau-goxel-v0.7.1-70-g193eded_GH0.tar.gz) = b5c4fea8029543f81dff4c73377f0ef6411f87e65463604a581e3bbc277e66cf +SIZE (guillaumechereau-goxel-v0.7.1-70-g193eded_GH0.tar.gz) = 1441265 Index: head/graphics/goxel/files/goxel.desktop =================================================================== --- head/graphics/goxel/files/goxel.desktop +++ head/graphics/goxel/files/goxel.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Goxel +GenericName=3D Voxel Editor +Icon=goxel +Exec=goxel +Keywords=3d;voxel; +Categories=Graphics;3DGraphics; +Terminal=false Index: head/graphics/goxel/pkg-descr =================================================================== --- head/graphics/goxel/pkg-descr +++ head/graphics/goxel/pkg-descr @@ -0,0 +1,3 @@ +A 3D program that lets you create voxel volumes, a bit similar to minecraft. + +WWW: https://guillaumechereau.github.io/goxel/ Index: head/graphics/goxel/pkg-plist =================================================================== --- head/graphics/goxel/pkg-plist +++ head/graphics/goxel/pkg-plist @@ -0,0 +1,5 @@ +bin/goxel +share/applications/goxel.desktop +share/icons/hicolor/32x32/apps/goxel.png +share/icons/hicolor/64x64/apps/goxel.png +share/icons/hicolor/256x256/apps/goxel.png