aboutsummaryrefslogtreecommitdiff
path: root/games/glob2/Makefile
blob: 9c635668be34d5471412dbaf41aa02c11b283034 (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
# New ports collection makefile for:	glob2
# Date created:		Wed 21 apr 2004
# Whom:			thierry@pompo.net
#
# $FreeBSD$
#

PORTNAME=		glob2
PORTVERSION=		0.8.6
CATEGORIES=		games
MASTER_SITES=		${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=	distfiles

MAINTAINER=		thierry@FreeBSD.org
COMMENT=		Globulation 2 - a free and innovative strategy game

LIB_DEPENDS=		vorbis.3:${PORTSDIR}/audio/libvorbis	\
			freetype.9:${PORTSDIR}/print/freetype2

USE_SDL=		image net sdl
GNU_CONFIGURE=		yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=		CFLAGS="${CFLAGS} -I${LOCALBASE}/include"	\
			LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
USE_GCC=		3.4

PLIST_FILES=		bin/glob2

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
BROKEN=			"Does not build on alpha"
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/glob2 ${PREFIX}/bin

.include <bsd.port.post.mk>