freebsd-ports/graphics/simpleviewer/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

47 lines
1.3 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= simpleviewer
PORTVERSION= 2.92
PORTREVISION= 7
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
USES= cmake:insource 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
PORTEXAMPLES= config.example
SUB_FILES= pkg-message
OPTIONS_DEFINE= EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sviewgl ${STAGEDIR}${PREFIX}/bin
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/config.example ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>