ports/graphics/gource/Makefile
2019-11-08 14:36:06 +00:00

32 lines
880 B
Makefile

# Created by: demon@FreeBSD.org
# $FreeBSD$
PORTNAME= gource
PORTVERSION= 0.47
PORTREVISION= 12
CATEGORIES= graphics
MASTER_SITES= https://github.com/acaudwell/Gource/releases/download/${PORTNAME}-${PORTVERSION}/
MAINTAINER= demon@FreeBSD.org
COMMENT= OpenGL-based 3D visualisation tool for source control repositories
LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libpcre.so:devel/pcre \
libboost_filesystem.so:devel/boost-libs \
libpng.so:graphics/png
RUN_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm
GNU_CONFIGURE= yes
USES= compiler:c++0x gl gmake pkgconfig sdl
USE_GL= glew gl glu
USE_SDL= image2 sdl2
CONFIGURE_ARGS+=--with-boost-system=boost_system \
--with-boost-filesystem=boost_filesystem
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.mk>