Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -560,6 +560,7 @@ SUBDIR += fga SUBDIR += fhist SUBDIR += fib + SUBDIR += fifechan SUBDIR += firmware-utils SUBDIR += fistgen SUBDIR += flatbuffers Index: head/devel/fifechan/Makefile =================================================================== --- head/devel/fifechan/Makefile +++ head/devel/fifechan/Makefile @@ -0,0 +1,48 @@ +# Created by: Green Dog +# $FreeBSD$ + +PORTNAME= fifechan +PORTVERSION= 0.1.4 +CATEGORIES= devel games + +MAINTAINER= fiziologus@gmail.com +COMMENT= Small, efficient C++ GUI library designed for games + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USES= cmake:outsource + +USE_GITHUB= yes +GH_ACCOUNT= fifengine + +PLIST_SUB= PORTVERSION=${PORTVERSION} + +OPTIONS_DEFINE= ALLEGRO IRRLICHT OPENGL SDL SDL_CONTRIB +ALLEGRO_DESC= Allegro extension +IRRLICHT_DESC= Irrlicht extension +OPENGL_DESC= OpenGL extension (need for FIFE) +SDL_DESC= SDL extension (need for FIFE) +SDL_CONTRIB_DESC= SDL contrib extension (need SDL) + +OPTIONS_DEFAULT= ALLEGRO IRRLICHT OPENGL SDL + +OPTIONS_SUB= yes + +ALLEGRO_CMAKE_BOOL= ENABLE_ALLEGRO +ALLEGRO_LIB_DEPENDS= liballeg.so:devel/allegro + +IRRLICHT_CMAKE_BOOL= ENABLE_IRRLICHT +IRRLICHT_LIB_DEPENDS= libIrrlicht.so:x11-toolkits/irrlicht + +OPENGL_CMAKE_BOOL= ENABLE_OPENGL +OPENGL_USE= gl=gl,glu + +SDL_CMAKE_BOOL= ENABLE_SDL +SDL_USE= sdl=sdl2,image2 + +SDL_CONTRIB_CMAKE_BOOL= ENABLE_SDL_CONTRIB +SDL_CONTRIB_USE= sdl=ttf2 +SDL_CONTRIB_IMPLIES= SDL + +.include Index: head/devel/fifechan/distinfo =================================================================== --- head/devel/fifechan/distinfo +++ head/devel/fifechan/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1487971273 +SHA256 (fifengine-fifechan-0.1.4_GH0.tar.gz) = a93b015b5852b8fe2a0a2a6891d3de2cacb196732f670e081d7b7966f9ed1b87 +SIZE (fifengine-fifechan-0.1.4_GH0.tar.gz) = 246181 Index: head/devel/fifechan/pkg-descr =================================================================== --- head/devel/fifechan/pkg-descr +++ head/devel/fifechan/pkg-descr @@ -0,0 +1,16 @@ +Fifechan is a lightweight cross platform GUI library written in C++ +specifically designed for games. It has a small yet powerful built-in +set of extendable GUI Widgets allowing users to create virtually +unlimited types of widgets. + +Fifechan supports rendering in SDL, OpenGL, or Allegro out of the box +or it can be adapted to use any rendering engine the user requires. +Events are pushed to Fifechan which allows users to use any input +library they wish or they could use the built in input handling +through either SDL input or Allegro input. + +The primary goal for Fifechan is to keep it extendable, lightweight +and still be powerful enough to use in all types of games out of the +box. + +WWW: http://fifengine.net/ Index: head/devel/fifechan/pkg-plist =================================================================== --- head/devel/fifechan/pkg-plist +++ head/devel/fifechan/pkg-plist @@ -0,0 +1,94 @@ +include/fifechan.hpp +include/fifechan/actionevent.hpp +include/fifechan/actionlistener.hpp +%%ALLEGRO%%include/fifechan/allegro.hpp +%%ALLEGRO%%include/fifechan/allegro/allegrofont.hpp +%%ALLEGRO%%include/fifechan/allegro/allegrographics.hpp +%%ALLEGRO%%include/fifechan/allegro/allegroimage.hpp +%%ALLEGRO%%include/fifechan/allegro/allegroimageloader.hpp +%%ALLEGRO%%include/fifechan/allegro/allegroinput.hpp +include/fifechan/cliprectangle.hpp +include/fifechan/color.hpp +include/fifechan/containerevent.hpp +include/fifechan/containerlistener.hpp +%%ALLEGRO%%include/fifechan/contrib/allegro/allegroglyphkeeperfont.hpp +%%OPENGL%%include/fifechan/contrib/opengl/oglftfont.hpp +%%SDL%%include/fifechan/contrib/sdl/sdltruetypefont.hpp +include/fifechan/deathlistener.hpp +include/fifechan/defaultfont.hpp +include/fifechan/event.hpp +include/fifechan/exception.hpp +include/fifechan/focushandler.hpp +include/fifechan/focuslistener.hpp +include/fifechan/font.hpp +include/fifechan/genericinput.hpp +include/fifechan/glut.hpp +include/fifechan/graphics.hpp +include/fifechan/gui.hpp +include/fifechan/image.hpp +include/fifechan/imagefont.hpp +include/fifechan/imageloader.hpp +include/fifechan/input.hpp +include/fifechan/inputevent.hpp +%%IRRLICHT%%include/fifechan/irrlicht.hpp +%%IRRLICHT%%include/fifechan/irrlicht/irrlichtgraphics.hpp +%%IRRLICHT%%include/fifechan/irrlicht/irrlichtimage.hpp +%%IRRLICHT%%include/fifechan/irrlicht/irrlichtimageloader.hpp +%%IRRLICHT%%include/fifechan/irrlicht/irrlichtinput.hpp +include/fifechan/key.hpp +include/fifechan/keyevent.hpp +include/fifechan/keyinput.hpp +include/fifechan/keylistener.hpp +include/fifechan/listmodel.hpp +include/fifechan/mouseevent.hpp +include/fifechan/mouseinput.hpp +include/fifechan/mouselistener.hpp +%%OPENGL%%include/fifechan/opengl.hpp +%%OPENGL%%include/fifechan/opengl/openglallegroimageloader.hpp +%%OPENGL%%include/fifechan/opengl/openglgraphics.hpp +%%OPENGL%%include/fifechan/opengl/openglimage.hpp +%%OPENGL%%include/fifechan/opengl/openglsdlimageloader.hpp +include/fifechan/platform.hpp +include/fifechan/rectangle.hpp +%%SDL%%include/fifechan/sdl.hpp +%%SDL%%include/fifechan/sdl/sdlgraphics.hpp +%%SDL%%include/fifechan/sdl/sdlimage.hpp +%%SDL%%include/fifechan/sdl/sdlimageloader.hpp +%%SDL%%include/fifechan/sdl/sdlinput.hpp +%%SDL%%include/fifechan/sdl/sdlpixel.hpp +include/fifechan/selectionevent.hpp +include/fifechan/selectionlistener.hpp +include/fifechan/text.hpp +include/fifechan/utf8stringeditor.hpp +include/fifechan/visibilityeventhandler.hpp +include/fifechan/widget.hpp +include/fifechan/widgetlistener.hpp +include/fifechan/widgets/adjustingcontainer.hpp +include/fifechan/widgets/button.hpp +include/fifechan/widgets/checkbox.hpp +include/fifechan/widgets/container.hpp +include/fifechan/widgets/dropdown.hpp +include/fifechan/widgets/icon.hpp +include/fifechan/widgets/iconprogressbar.hpp +include/fifechan/widgets/imagebutton.hpp +include/fifechan/widgets/label.hpp +include/fifechan/widgets/listbox.hpp +include/fifechan/widgets/passwordfield.hpp +include/fifechan/widgets/radiobutton.hpp +include/fifechan/widgets/scrollarea.hpp +include/fifechan/widgets/slider.hpp +include/fifechan/widgets/tab.hpp +include/fifechan/widgets/tabbedarea.hpp +include/fifechan/widgets/textbox.hpp +include/fifechan/widgets/textfield.hpp +include/fifechan/widgets/window.hpp +lib/libfifechan.so +lib/libfifechan.so.%%PORTVERSION%% +%%ALLEGRO%%lib/libfifechan_allegro.so +%%ALLEGRO%%lib/libfifechan_allegro.so.%%PORTVERSION%% +%%IRRLICHT%%lib/libfifechan_irrlicht.so +%%IRRLICHT%%lib/libfifechan_irrlicht.so.%%PORTVERSION%% +%%OPENGL%%lib/libfifechan_opengl.so +%%OPENGL%%lib/libfifechan_opengl.so.%%PORTVERSION%% +%%SDL%%lib/libfifechan_sdl.so +%%SDL%%lib/libfifechan_sdl.so.%%PORTVERSION%%