freebsd-ports/graphics/tiled/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

50 lines
1.1 KiB
Makefile

PORTNAME= tiled
PORTVERSION= 1.8.6
DISTVERSIONPREFIX= v
CATEGORIES= graphics editors games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= General purpose tile map editor
WWW= https://www.mapeditor.org/
LICENSE= BSD2CLAUSE BSD3CLAUSE GPLv2+
LICENSE_COMB= multi
LIB_DEPENDS= libzstd.so:archivers/zstd
USE_GITHUB= yes
GH_ACCOUNT= bjorn
USES= compiler:c++14-lang desktop-file-utils gl qmake qt:5 \
pkgconfig shared-mime-info xorg
USE_QT= core gui widgets opengl network declarative \
buildtools:build linguisttools:build
USE_GL= gl
USE_LDCONFIG= yes
QMAKE_ARGS= SYSTEM_ZSTD=yes
PORTDOCS= *
OPTIONS_DEFINE= PYTHON DBUS DOCS
OPTIONS_DEFAULT=PYTHON DBUS
OPTIONS_SUB= yes
PYTHON_DESC= Enable python plugin
PYTHON_USES= pkgconfig python:3.6+
PYTHON_QMAKE_OFF= DISABLE_PYTHON_PLUGIN=yes
DBUS_USE= QT=dbus
DBUS_QMAKE_OFF= DISABLE_DBUS=yes
post-patch-PYTHON-on:
@${REINPLACE_CMD} -e 's|python3|python-${PYTHON_VER}|' \
${WRKSRC}/src/plugins/python/find_python.pri
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS README.md NEWS.md
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>