Tweak math/rocs version 4.14.3_7
[dports.git] / graphics / simpleviewer / Makefile
1 # Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       simpleviewer
5 PORTVERSION=    2.92
6 PORTREVISION=   2
7 CATEGORIES=     graphics
8 MASTER_SITES=   https://bitbucket.org/andreyu/simple-viewer-gl/get/
9 DISTNAME=       v${PORTVERSION} # version tag, thus no embedded ${PORTNAME}
10 DIST_SUBDIR=    ${PORTNAME}     # and hence the need for ${DIST_SUBDIR}
11
12 MAINTAINER=     ports@FreeBSD.org
13 COMMENT=        Small and simple OpenGL image viewer with transparency support
14
15 LICENSE=        GPLv2
16
17 LIB_DEPENDS=    libIlmImf.so:graphics/OpenEXR \
18                 libImlib2.so:graphics/imlib2 \
19                 libexif.so:graphics/libexif \
20                 libfreetype.so:print/freetype2 \
21                 libgif.so:graphics/giflib \
22                 libglfw.so:graphics/glfw \
23                 liblcms2.so:graphics/lcms2 \
24                 libpng.so:graphics/png \
25                 libtiff.so:graphics/tiff \
26                 libwebp.so:graphics/webp
27
28 USES=           cmake compiler:c++11-lang jpeg pkgconfig tar:bzip2
29 USE_GL=         glu
30 USE_XORG=       ice sm x11 xcursor xext xinerama xrandr xxf86vm
31
32 WRKSRC=         ${WRKDIR}/andreyu-simple-viewer-gl-b3bd8710e176
33
34 PLIST_FILES=    bin/sviewgl
35
36 do-install:
37         ${INSTALL_PROGRAM} ${WRKSRC}/sviewgl ${STAGEDIR}${PREFIX}/bin
38
39 .include <bsd.port.mk>