1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/graphics/xaos/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

63 lines
1.5 KiB
Makefile

PORTNAME= xaos
DISTVERSIONPREFIX= release-
DISTVERSION= 4.2.1
PORTREVISION= 1
CATEGORIES= graphics math
MAINTAINER= joerg.preiss@slesa.de
COMMENT= Real-time interactive fractal browser
WWW= https://xaos-project.github.io/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang gl qmake qt:5
USE_GITHUB= yes
GH_ACCOUNT= xaos-project
GH_PROJECT= XaoS
USE_GL= gl
USE_QT= core gui opengl widgets buildtools:build linguisttools:build
QMAKE_ARGS+= INCLUDEPATH+=${LOCALBASE}/include \
LIBS+=-L${LOCALBASE}/lib
DESKTOP_ENTRIES= "XaoS" \
"" \
"${PREFIX}/share/pixmaps/xaos.png" \
"xaos" \
"" \
false
OPTIONS_DEFINE= 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
${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>