aboutsummaryrefslogblamecommitdiff
path: root/graphics/photoflare/Makefile
blob: c636c8023b64cea1b38871aa1505b2bbd98309cc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



                          
                     







                                                                      
                                                              

                                                                                        
                   



                                                                                          


                                                                                       

                      
# $FreeBSD$

PORTNAME=	photoflare
DISTVERSIONPREFIX=	v
DISTVERSION=	1.6.4
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Quick, simple but powerful cross-platform image editor

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE.md

LIB_DEPENDS=	libGraphicsMagick++.so:graphics/GraphicsMagick

USES=		compiler:c++17-lang desktop-file-utils gl qmake qt:5 localbase pkgconfig
USE_GITHUB=	yes
USE_QT=		core gui network printsupport widgets buildtools_build linguisttools_build
USE_GL=		gl

CXXFLAGS+=	`pkg-config --cflags GraphicsMagick++`
LDFLAGS+=	`pkg-config --libs GraphicsMagick++` ${LDFLAGS_${CHOSEN_COMPILER_TYPE}}
LDFLAGS_clang=	-lomp
LDFLAGS_gcc=	-fopenmp

.include <bsd.port.mk>