freebsd-ports/graphics/xaos/Makefile
Fernando Apesteguía ba45dce2ee graphics/xaos: update to 4.1
From ChangeLog: https://github.com/xaos-project/XaoS/releases/tag/release-4.1

New Features

 * Added option to show Cartesian coordinate grid.
 * Custom palette helps visualizing palette before applying changes through
   slider selectable values now.
 * PNGs exported using 'Save Image' option can be imported back and users can
   continue zooming on it.

Bug Fixes

 * Fixed crash on recording XaoS animations.
 * Fixed crash on rendering using command line.
 * Fix handling non-ASCII paths on Windows.
 * Only error messages are shown on incorrect commands.
 * Some other small bug fixes.

Reported by:	portscout
MFH:	2020Q3 (runtime fixes)
2020-07-03 07:09:17 +00:00

65 lines
1.6 KiB
Makefile

# Created by: Joseph Koshy <koshy@india.hp.com>
# $FreeBSD$
PORTNAME= xaos
DISTVERSIONPREFIX= release-
DISTVERSION= 4.1
CATEGORIES= graphics math
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time interactive fractal browser
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang gl qmake qt:5
USE_QT= core gui opengl widgets buildtools_build linguisttools_build
USE_GL= gl
USE_GITHUB= yes
GH_ACCOUNT= xaos-project
GH_PROJECT= XaoS
QMAKE_ARGS+= INCLUDEPATH+=${LOCALBASE}/include \
LIBS+=-L${LOCALBASE}/lib
DESKTOP_ENTRIES= "XaoS" \
"" \
"${PREFIX}/share/pixmaps/xaos.png" \
"xaos" \
"" \
false
OPTIONS_DEFINE= DOCS EXAMPLES NLS TUTORIAL
OPTIONS_DEFAULT= TUTORIAL
OPTIONS_SUB= yes
TUTORIAL_DESC= Tutorial fractal sequences
post-install:
# HACK: original "install" target missing
${INSTALL_PROGRAM} ${WRKSRC}/bin/xaos ${STAGEDIR}${PREFIX}/bin/xaos
${INSTALL_DATA} ${WRKSRC}/src/ui/images/xaosbig.png \
${STAGEDIR}${PREFIX}/share/pixmaps/xaos.png
post-install-DOCS-on:
${INSTALL_MAN} ${WRKSRC}/doc/xaos.6 \
${STAGEDIR}${MANPREFIX}/share/man/man6/xaos.6
post-install-EXAMPLES-on:
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
post-install-NLS-on:
# catalogs
(cd ${WRKSRC}/catalogs && \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/XaoS/catalogs)
# translation files
(cd ${WRKSRC}/i18n && ${COPYTREE_SHARE} \
"*.qm" ${STAGEDIR}${PREFIX}/share/XaoS/i18n)
post-install-TUTORIAL-on:
(cd ${WRKSRC}/tutorial && \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/XaoS/tutorial)
.include <bsd.port.mk>