summaryrefslogtreecommitdiff
path: root/science/gsystem/Makefile
blob: 2a13f3932883969b708eb3c86fd76b5531550b78 (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
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:	G System
# Date created:				16 December 2004
# Whom:					Raphael Langerhorst <raphael-langerhorst@gmx.at>
#
# $FreeBSD$
#

PORTNAME=	gsystem
PORTVERSION=	0.4.1
CATEGORIES=	science devel games
MASTER_SITES=	ftp://ftp.g-system.at/pub/gsystem/releases/development/${PORTVERSION}/
DISTNAME=	G-System-${PORTVERSION}

MAINTAINER=	raphael-langerhorst@gmx.at
COMMENT=	A multi-user virtual reality evolution and life simulation framework

BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake

USE_BZIP2=	yes
USE_QT_VER=	3

INSTALLS_SHLIB=	yes
NO_FILTER_SHLIBS=	yes

QTDIR=		${X11BASE}
QMAKESPEC=	freebsd-g++

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		does not compile with gcc 2.95
.endif

do-configure:
	cd ${WRKSRC}; \
	export QTDIR=${QTDIR}; \
	export QMAKESPEC=${QMAKESPEC}; \
	qmake;

do-build:
	cd ${WRKSRC}; \
	export QTDIR=${QTDIR}; \
	export QMAKESPEC=${QMAKESPEC}; \
	./compile;

do-install:
	cd ${WRKSRC}; \
	export G_PREFIX=${PREFIX}; \
	./makeinstall;

.include <bsd.port.post.mk>