# New ports collection makefile for:   	gource
# Date created:         Nov 25 2009
# Whom:                 demon@FreeBSD.org
#
# $FreeBSD: branches/RELENG_9_1_0/graphics/gource/Makefile 307174 2012-11-08 11:31:28Z beat $
#

PORTNAME=	gource
PORTVERSION=	0.38
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	demon@FreeBSD.org
COMMENT=	OpenGL-based 3D visualisation tool for source control repositories

BUILD_DEPENDS=	${LOCALBASE}/include/glm/glm.hpp:${PORTSDIR}/math/glm
LIB_DEPENDS=	SDL_image:${PORTSDIR}/graphics/sdl_image \
		ftgl:${PORTSDIR}/graphics/ftgl \
		pcre:${PORTSDIR}/devel/pcre \
		GLEW:${PORTSDIR}/graphics/glew \
		boost_filesystem:${PORTSDIR}/devel/boost-libs
RUN_DEPENDS=	${LOCALBASE}/include/glm/glm.hpp:${PORTSDIR}/math/glm

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
MANCOMPRESSED=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

MAN1=		gource.1

.include <bsd.port.mk>
