aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/vv/Makefile
blob: 46c7ffabd5dcd3d76dd33af4678159d902d40ca9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $FreeBSD$

PORTNAME=   vv
DISTVERSIONPREFIX=  v
DISTVERSION=    1.4.0-271
DISTVERSIONSUFFIX=  -g24b75af3
PORTREVISION=   2
CATEGORIES= graphics

MAINTAINER= yuri@FreeBSD.org
COMMENT=    Fast and simple 4D image viewer

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

LIB_DEPENDS=    libexpat.so:textproc/expat2 \
        libfreetype.so:print/freetype2 \
        libgdcmCommon.so:devel/gdcm \
        libhdf5_cpp.so:science/hdf5 \
        libITKLabelMap-4.13.so:science/InsightToolkit \
        libpng16.so:graphics/png \
        libsz.so:science/szip \
        libtiff.so:graphics/tiff \
        libvtkIOSQL-8.1.so:math/vtk8

USES=       cmake compiler:c++11-lang jpeg qt:5
USE_GITHUB= yes
GH_ACCOUNT= open-vv
USE_QT=     core designer gui network sql widgets xml buildtools_build qmake_build
USE_XORG=   ice sm x11 xext xt
USE_CXXSTD= c++11

PLIST_FILES=    bin/vv

post-configure: # need to investigate where these strings come from
    @${REINPLACE_CMD} 's| -lGTest::GTest -lGTest::Main | |' ${BUILD_WRKSRC}/build.ninja

.include <bsd.port.mk>