summaryrefslogtreecommitdiffstats
path: root/games/lincity/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-21 17:44:51 +0000
committerkrion <krion@FreeBSD.org>2003-12-21 17:44:51 +0000
commitf8e7559e5c2b17ce17eb44df2c528d593837df69 (patch)
tree4fd2f9dc57b3ba8828b0bee3e80b37531798b1d3 /games/lincity/Makefile
parent597f9da95f104a89662d92cba07552d140612d21 (diff)
downloadFreeBSD-ports-f8e7559e5c2b17ce17eb44df2c528d593837df69.zip
FreeBSD-ports-f8e7559e5c2b17ce17eb44df2c528d593837df69.tar.gz
- Update to version 1.12.0
PR: 60464 Submitted by: Ports Fury
Diffstat (limited to 'games/lincity/Makefile')
-rw-r--r--games/lincity/Makefile26
1 files changed, 20 insertions, 6 deletions
diff --git a/games/lincity/Makefile b/games/lincity/Makefile
index ad65910..4778639 100644
--- a/games/lincity/Makefile
+++ b/games/lincity/Makefile
@@ -6,18 +6,32 @@
#
PORTNAME= lincity
-PORTVERSION= 1.11
-PORTREVISION= 1
+PORTVERSION= 1.12.0
CATEGORIES= games
-MASTER_SITES= ftp://ftp.demon.co.uk/pub/unix/linux/games/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Rich city simulation game for X
-BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4
+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"
-USE_XLIB= yes
-ALL_TARGET= freebsd
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>
OpenPOWER on IntegriCloud