aboutsummaryrefslogtreecommitdiffstats
path: root/games/lincity/Makefile
blob: 4778639dec012ed0fdcfb7822d88fee3403420f7 (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
# New ports collection makefile for:    lincity
# Date created:         13 Feb 1997
# Whom:                 Julian Assange
#
# $FreeBSD$
#

PORTNAME=   lincity
PORTVERSION=    1.12.0
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Rich city simulation game for X

LIB_DEPENDS=    intl.5:${PORTSDIR}/devel/gettext

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN6=       lincity.6

.if defined(WITH_SVGALIB)
LIB_DEPENDS+=   vga.1:${PORTSDIR}/graphics/svgalib
CONFIGURE_ARGS+=    --without-x
PLIST_SUB=  PROG="bin/lincity"
.else
USE_XLIB=   yes
CONFIGURE_ARGS+=    --without-svga
PLIST_SUB=  PROG="bin/xlincity"
.endif

.include <bsd.port.mk>