Created attachment 168759 [details] agar-1.5.0.shar Agar is a cross-platform GUI toolkit. Agar provides a base framework and a collection of GUI widgets from which GUI applications can be built. Agar can be styled and themed using a CSS-style engine. As of Agar-1.5, Agar applications work seamlessly under X11 (with OpenGL), Windows, MacOS X and SDL 1.2. Agar can also attach to an OpenGL or SDL context and operate as window manager for the application. Agar is compact, efficient, and fully thread-safe. Agar's functionality can be extended using simple C/C++ class registration interfaces. Separate libraries which also extend Agar's capabilities include FreeSG (http://FreeSG.org) and Edacious (http://edacious.org). WWW: http://libagar.org/
Shouldn't it be in x11-toolkits category instead of devel?
(In reply to Dmitry Marakasov from comment #1) I think it belongs in devel since it can be compiled without X11 support (X11 option). It can use SDL exclusively (SDL option with X11 disabled), or be built without the GUI components at all (GUI option disabled). Without GUI, the "core" and "math" interfaces remain available: http://libagar.org/mdoc.cgi?man=AG_Intro.3#AGAR-CORE http://libagar.org/mdoc.cgi?man=AG_Intro.3#AGAR-MATH
Created attachment 168887 [details] Test suite for devel/agar Graphical test suite / benchmark utility for Agar.
There are warnings: Warning: 'lib/libag_core.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'lib/libag_gui.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'lib/libag_vg.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'lib/libag_math.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'lib/libag_dev.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'lib/libag_au.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Error: /usr/local/lib/libag_au.so.5.0.0 is linked to /usr/local/lib/libjpeg.so.8 from graphics/jpeg-turbo but it is not declared as a dependency Warning: you need USES+=jpeg Also, you can easily get rid of .include <bsd.port.options.mk> and use helpers, like ${opt}_CONFIGURE_ENABLE. It will become much shorter.
Please, feedback from the submitter.
Created attachment 189790 [details] agar-1.5.0_1.shar Please find the revised port attached. Per Yuri's suggestion, it no longer uses <bsd.port.options.mk> so the Makefile is much shorter. The installed libraries are now stripped as well.
Thanks, for reply.
testbuilds@work
testbuild on 11.1 fails, see: http://people.freebsd.org/~pi/logs/devel__agar-111-1526220444.txt
Created attachment 193675 [details] agar-1.5.0_2.shar Thanks, Kurt. Here is a revised port with the needed perl5 build dependency, which should fix the problem. testport now completes successfully on 11.1 for me.
Committed, thanks. Sorry for the very long delay!
A commit references this bug: Author: pi Date: Sat Jan 5 23:11:55 UTC 2019 New revision: 489418 URL: https://svnweb.freebsd.org/changeset/ports/489418 Log: New port: devel/agar Agar is a cross-platform GUI toolkit. Agar provides a base framework and a collection of GUI widgets from which GUI applications can be built. Agar applications function seamlessly under X11 (with OpenGL), Windows, MacOS X and SDL 1.2. Agar can also attach an existing OpenGL or SDL context and operate as window manager for the application. Agar is compact, efficient, and fully thread-safe. Agar's functionality can be extended using simple C/C++ class registration interfaces. Separate libraries which also extend Agar's capabilities include FreeSG (http://FreeSG.org) and Edacious (http://edacious.org). WWW: http://libagar.org/ PR: 208383 Submitted by: Julien Nadeau <vedge@hypertriton.com> Reported by: amdmi3, yuri Changes: head/devel/Makefile head/devel/agar/ head/devel/agar/Makefile head/devel/agar/distinfo head/devel/agar/files/ head/devel/agar/files/patch-core_net.c head/devel/agar/files/patch-math_m__math.c head/devel/agar/pkg-descr head/devel/agar/pkg-plist
A commit references this bug: Author: pi Date: Sun Jan 6 09:40:07 UTC 2019 New revision: 489452 URL: https://svnweb.freebsd.org/changeset/ports/489452 Log: devel/agar: fix build on non-amd64 PR: 208383 Changes: head/devel/agar/Makefile head/devel/agar/pkg-plist
A commit references this bug: Author: pi Date: Sun Jan 6 11:04:09 UTC 2019 New revision: 489456 URL: https://svnweb.freebsd.org/changeset/ports/489456 Log: devel/agar: replace includes of bsd.port.pre.mk and .post.mk PR: 208383 Submitted by: mat Changes: head/devel/agar/Makefile