# Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= simpleviewer PORTVERSION= 2.92 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