summaryrefslogtreecommitdiff
path: root/graphics/gource/Makefile
blob: 9a79ea37700a2e85002a2d3f93476071e4bb96b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	gource
PORTVERSION=	0.55
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
WWW=		https://gource.io/

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

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

USES=		autoreconf compiler:c++0x cpe gl gmake pkgconfig sdl
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
USE_GL=		glew gl glu
USE_SDL=	image2 sdl2

post-patch:
	@${REINPLACE_CMD} -e '/AX_BOOST_SYSTEM/d' ${WRKSRC}/configure.ac

.include <bsd.port.mk>