aboutsummaryrefslogtreecommitdiff
path: root/graphics/simpleviewer/Makefile
blob: 02c865b13be333525e4c40d3c0c47d0c2902e1cd (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
39
40
41
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=	simpleviewer
PORTVERSION=	2.92
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	https://bitbucket.org/andreyu/simple-viewer-gl/get/
DISTNAME=	v${PORTVERSION}	# version tag, thus no embedded ${PORTNAME}
DIST_SUBDIR=	${PORTNAME}	# and hence the need for ${DIST_SUBDIR}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Small and simple OpenGL image viewer with transparency support

LICENSE=	GPLv2

LIB_DEPENDS=	libIlmImf.so:graphics/OpenEXR \
		libImlib2.so:graphics/imlib2 \
		libexif.so:graphics/libexif \
		libfreetype.so:print/freetype2 \
		libgif.so:graphics/giflib \
		libglfw.so:graphics/glfw \
		liblcms2.so:graphics/lcms2 \
		libpng.so:graphics/png \
		libtiff.so:graphics/tiff \
		libwebp.so:graphics/webp

BROKEN_powerpc64=	fails to build: fileslist.cpp: '::printf' has not been declared

USES=		cmake compiler:c++11-lang jpeg pkgconfig tar:bzip2
USE_GL=		glu
USE_XORG=	ice sm x11 xcursor xext xinerama xrandr xxf86vm

WRKSRC=		${WRKDIR}/andreyu-simple-viewer-gl-b3bd8710e176

PLIST_FILES=	bin/sviewgl

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sviewgl ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>