summaryrefslogtreecommitdiff
path: root/sysutils/logstalgia/Makefile
blob: 49c2f483e1c1f1ab1535a4ba11fc5210b38bf540 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=	logstalgia
DISTVERSIONPREFIX=	${PORTNAME}-
DISTVERSION=	1.1.0
PORTREVISION=	1
CATEGORIES=	sysutils www

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Website access log visualization tool

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN_powerpc64=	fails to compile: custom.cpp: 'sscanf' was not declared in this scope

BUILD_DEPENDS=	${LOCALBASE}/include/glm/glm.hpp:math/glm
LIB_DEPENDS=	libboost_regex.so:devel/boost-libs \
		libfreetype.so:print/freetype2 \
		libpcre.so:devel/pcre \
		libpng.so:graphics/png \
		libftgl.so:graphics/ftgl

GNU_CONFIGURE=	yes
USES=		autoreconf compiler:c++0x gmake jpeg localbase:ldflags pkgconfig
USE_GL=		gl glu glew
USE_SDL=	image2 sdl2

USE_GITHUB=	yes
GH_ACCOUNT=	acaudwell
GH_PROJECT=	Logstalgia:DEFAULT Core:core
GH_TAGNAME=	1534074:core

post-extract:
	@${MV} ${WRKDIR}/Core-*/* ${WRKSRC}/src/core/

post-patch:
	@${REINPLACE_CMD} -e 's| -Wno-unused-but-set-variable||' \
		${WRKSRC}/Makefile.am

.include <bsd.port.mk>