summaryrefslogtreecommitdiff
path: root/graphics/electricsheep/Makefile
blob: 899c5713a39cbb9d0a54b3c320e7aed546716854 (plain)
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
43
44
45
46
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$

PORTNAME=	electricsheep
DISTVERSION=	2.7 # configure.ac says that the version is 2.7b33
PORTEPOCH=	1
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Infinite evolving crowdsourced artwork

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	flam3-animate:graphics/flam3
LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
		libcurl.so:ftp/curl \
		libavcodec.so:multimedia/ffmpeg \
		libGLee.so:graphics/glee \
		libgtop-2.0.so:devel/libgtop \
		libpng16.so:graphics/png \
		libtinyxml.so:textproc/tinyxml
RUN_DEPENDS=	flam3-animate:graphics/flam3

USES=		autoreconf dos2unix gl gnome libtool localbase:ldflags lua:51 pkgconfig gettext-runtime
USE_GITHUB=	yes
GH_ACCOUNT=	scottdraves
GH_TAGNAME=	4949c31
DOS2UNIX_FILES=	ContentDownloader/SheepDownloader.cpp DisplayOutput/OpenGL/glx.cpp
GNU_CONFIGURE=	yes
USE_WX=		3.1
USE_GNOME=	glib20
USE_GL=		gl glut
USE_XORG=	x11 xrender

WRKSRC_SUBDIR=	client_generic

CFLAGS+=	-DLINUX_GNU -I${LOCALBASE}/include/GL -I${LOCALBASE}/include/libavcodec -DSHAREDIR='\"${DATADIR}\"'

post-patch: # unbundle GLee
	@${RM} ${WRKSRC}/DisplayOutput/OpenGL/GLee.*

post-install:
	@${RM} -r ${STAGEDIR}${DOCSDIR}* ${STAGEDIR}${DATADIR}/icons

.include <bsd.port.mk>