aboutsummaryrefslogtreecommitdiffstats
path: root/games/lincity-ng/Makefile
blob: 43b79404a67b1de3494d1073642c14d60e8f86ab (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:    lincity-ng
# Date created:     25 June 2005
# Whom:         Andrej Zverev
#
# $FreeBSD$
#

PORTNAME=   lincity-ng
PORTVERSION=    1.1.2
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= az@FreeBSD.org
COMMENT=    Improved rich city simulation game for X

BUILD_DEPENDS=  jam:${PORTSDIR}/devel/jam
LIB_DEPENDS=    physfs.1:${PORTSDIR}/devel/physfs

USE_BZIP2=  yes
USE_SDL=    sdl mixer image ttf gfx
USE_GL=     yes
USE_GNOME=  libxml2

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libphysfs=${PREFIX} \
        --x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

do-build:
    @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)

do-install:
    @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam ${INSTALL_TARGET})

.include <bsd.port.mk>