# $FreeBSD$ PORTNAME= nomacs PORTVERSION= 2.2.0 PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= SF/nomacs/nomacs-${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= bsd@tuxproject.de COMMENT= Small, fast, and free image viewer LICENSE= GPLv3 LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libsysinfo.so:devel/libsysinfo \ libopencv_core.so:graphics/opencv2-core USES= cmake desktop-file-utils dos2unix pkgconfig tar:bzip2 USE_QT4= gui network linguist_build moc_build \ qmake_build rcc_build uic_build DOS2UNIX_REGEX= .*\.(cpp|h|txt) WRKTOP= ${WRKDIR} WRKSUBDIR= ${DISTNAME:S,-source,,} WRKSRC= ${WRKTOP}/${WRKSUBDIR} OPTIONS_DEFINE= RAW TIFF OPTIONS_DEFAULT= RAW TIFF RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_CMAKE_OFF= -DENABLE_RAW=0 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_OFF= -DENABLE_TIFF=0 post-patch: @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' \ ${WRKSRC}/CMakeLists.txt .include