aboutsummaryrefslogtreecommitdiff
path: root/games/lincity/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-29 21:50:26 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-29 21:50:26 +0000
commit403a71fcb3d9a118e8aaf59cd135f07ba1fcd1f8 (patch)
tree823e0c4b6ffeb16ea6ea88f2a755a96078164532 /games/lincity/Makefile
parentadbceb97586df5a887b47c0dd53ddcea59028f88 (diff)
downloadports-403a71fcb3d9a118e8aaf59cd135f07ba1fcd1f8.tar.gz
ports-403a71fcb3d9a118e8aaf59cd135f07ba1fcd1f8.zip
- Update to 1.13.1
PR: ports/95768 Submitted by: Aleksander Fafula <alex@BSDGuru.org>
Notes
Notes: svn path=/head/; revision=160843
Diffstat (limited to 'games/lincity/Makefile')
-rw-r--r--games/lincity/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/lincity/Makefile b/games/lincity/Makefile
index 474c9f73ecbd..5d8834610dda 100644
--- a/games/lincity/Makefile
+++ b/games/lincity/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lincity
-PORTVERSION= 1.12.1
+PORTVERSION= 1.13.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Rich city simulation game for X
+LIB_DEPENDS= png:${PORTSDIR}/graphics/png
+
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -22,6 +24,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN6= lincity.6
+pre-configure:
+ @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' ${WRKSRC}/readpng.c
+
.if defined(WITH_SVGALIB)
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
CONFIGURE_ARGS+= --without-x