2018-09-08 06:56:45 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2018/09/08 06:56:45 rsadowski Exp $
|
2016-01-24 10:06:15 +00:00
|
|
|
|
2017-12-02 08:49:02 +00:00
|
|
|
COMMENT = small and fast Qt image viewer
|
2016-01-24 10:06:15 +00:00
|
|
|
|
2016-09-13 08:21:36 +00:00
|
|
|
GH_ACCOUNT = nomacs
|
|
|
|
GH_PROJECT = nomacs
|
2018-07-15 21:24:56 +00:00
|
|
|
GH_TAGNAME = 3.10.2
|
2018-09-06 16:20:52 +00:00
|
|
|
REVISION = 0
|
2016-01-24 10:06:15 +00:00
|
|
|
|
2017-12-02 08:49:02 +00:00
|
|
|
CATEGORIES = graphics
|
2016-01-24 10:06:15 +00:00
|
|
|
|
2017-12-02 08:49:02 +00:00
|
|
|
HOMEPAGE = https://nomacs.org
|
2016-01-24 10:06:15 +00:00
|
|
|
|
2017-12-02 08:49:02 +00:00
|
|
|
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
|
2016-01-24 10:06:15 +00:00
|
|
|
|
2017-12-02 08:49:02 +00:00
|
|
|
SHARED_LIBS += nomacsCore 3.0 # 3.3
|
2016-01-24 10:06:15 +00:00
|
|
|
|
|
|
|
# GPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2018-09-06 16:20:52 +00:00
|
|
|
WANTLIB += ${COMPILER_LIBCXX} Qt5Concurrent Qt5Core Qt5Gui Qt5Network
|
|
|
|
WANTLIB += Qt5PrintSupport Qt5Svg Qt5Widgets c exiv2 lcms2 m opencv_core
|
|
|
|
WANTLIB += opencv_imgproc quazip5 raw tiff
|
2016-01-24 10:06:15 +00:00
|
|
|
|
|
|
|
MODULES = devel/cmake \
|
|
|
|
x11/qt5 \
|
|
|
|
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils
|
|
|
|
|
2018-09-06 16:20:52 +00:00
|
|
|
LIB_DEPENDS = archivers/quazip,qt5 \
|
2016-01-24 10:06:15 +00:00
|
|
|
graphics/exiv2 \
|
|
|
|
graphics/lcms2 \
|
|
|
|
graphics/libraw \
|
|
|
|
graphics/opencv \
|
2016-12-25 14:34:39 +00:00
|
|
|
graphics/tiff \
|
|
|
|
x11/qt5/qtsvg
|
2016-01-24 10:06:15 +00:00
|
|
|
|
2016-06-27 05:25:40 +00:00
|
|
|
CONFIGURE_ARGS = -DUSE_SYSTEM_QUAZIP:Bool=ON \
|
2017-12-02 08:49:02 +00:00
|
|
|
-DDISABLE_QT_DEBUG:Bool=ON \
|
|
|
|
-DENABLE_TRANSLATIONS:Bool=ON
|
2016-01-24 10:06:15 +00:00
|
|
|
|
2016-09-13 08:21:36 +00:00
|
|
|
WRKDIST = ${WRKDIR}/${PKGNAME}/ImageLounge
|
2016-01-24 10:06:15 +00:00
|
|
|
|
2018-09-08 06:56:45 +00:00
|
|
|
pre-configure:
|
|
|
|
find ${WRKSRC} -type f -name "*.cpp" -exec \
|
|
|
|
sed -i 's,#include <quazip/JlCompress.h>,#include <quazip5/JlCompress.h>,' {} \;
|
|
|
|
|
2016-01-24 10:06:15 +00:00
|
|
|
.include <bsd.port.mk>
|