1 # Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
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}
12 MAINTAINER= ports@FreeBSD.org
13 COMMENT= Small and simple OpenGL image viewer with transparency support
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
28 USES= cmake compiler:c++11-lang jpeg pkgconfig tar:bzip2
30 USE_XORG= ice sm x11 xcursor xext xinerama xrandr xxf86vm
32 WRKSRC= ${WRKDIR}/andreyu-simple-viewer-gl-b3bd8710e176
34 PLIST_FILES= bin/sviewgl
37 ${INSTALL_PROGRAM} ${WRKSRC}/sviewgl ${STAGEDIR}${PREFIX}/bin
39 .include <bsd.port.mk>