freebsd-ports/databases/opendbviewer/Makefile
Tobias C. Berner 45526ecbee framework: Add new USES 'magick' for graphics/ImageMagick*
A new USES has been added to depend on ImageMagick.

	USES=magick

adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.

If a specific version is required, use for example

	USES=magick:6        resp.     USES=magick:7

If only a build, run or test is required, use for example

	USES=magick:build    resp.     USES=magick:6,build,test

If a dependency on the nox11 flavor is required, use for example

	USES=magick:nox11    resp.     USES=magick:7,nox11,run,test

See magick.mk for more details on the available flags.

The tree has been completely converted to make use of this.

Approved by:	bapt
Differential Revision: https://reviews.freebsd.org/D32754
2021-12-11 14:50:53 +01:00

26 lines
575 B
Makefile

PORTNAME= opendbviewer
PORTVERSION= 1.1.1
DISTVERSIONPREFIX= v
CATEGORIES= databases
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Simple database explorer
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake compiler:c++11-lang magick:6,build qt:5
USE_GITHUB= yes
GH_ACCOUNT= Jet1oeil
USE_QT= core gui network sql sql-sqlite3 testlib widgets \
buildtools_build linguisttools_build qmake_build
OPTIONS_DEFINE= DOCS PGSQL MYSQL
OPTIONS_DEFAULT= PGSQL
PGSQL_USE= QT=sql-pgsql
MYSQL_USE= QT=sql-mysql
CMAKE_ARGS+= -DCMAKE_CXX_STANDARD=11
.include <bsd.port.mk>