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

27 lines
650 B
Makefile

PORTNAME= converseen
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.9.2
CATEGORIES= graphics
MAINTAINER= fernape@FreeBSD.org
COMMENT= Easy to use graphics conversion utility
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake compiler:c++11-lang magick:6 qt:5 tar:bzip2
USE_QT= core gui network widgets \
buildtools_build linguisttools_build qmake_build
USE_GITHUB= yes
GH_ACCOUNT= Faster3ck
GH_PROJECT= Converseen
post-patch:
@${REINPLACE_CMD} -e '/^install(FILES converseen.appdata.xml/s|/usr|$${CMAKE_INSTALL_PREFIX}|' \
${WRKSRC}/CMakeLists.txt
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/converseen
.include <bsd.port.mk>