2013-04-30 00:27:05 +02:00
|
|
|
# Created by: Julian Assange
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1997-02-14 09:19:08 +01:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTNAME= lincity
|
2006-04-29 23:50:26 +02:00
|
|
|
PORTVERSION= 1.13.1
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 7
|
1997-02-14 09:19:08 +01:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Lincity%20Development%20Source/${PORTVERSION}
|
1997-02-14 09:19:08 +01:00
|
|
|
|
1999-09-28 04:22:32 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= Rich city simulation game for X
|
1997-02-14 09:19:08 +01:00
|
|
|
|
2014-12-07 14:37:26 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
2006-04-29 23:50:26 +02:00
|
|
|
|
2013-08-01 00:52:05 +02:00
|
|
|
USES= gmake
|
2003-12-21 18:44:51 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2000-08-11 08:34:47 +02:00
|
|
|
|
2014-02-21 14:36:56 +01:00
|
|
|
OPTIONS_DEFINE= NLS SVGALIB
|
2013-11-03 02:50:12 +01:00
|
|
|
OPTIONS_SUB= yes
|
1997-02-14 09:19:08 +01:00
|
|
|
|
2013-11-03 02:50:12 +01:00
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
NLS_USES= gettext
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib
|
2013-11-03 02:50:12 +01:00
|
|
|
SVGALIB_CONFIGURE_ON= --without-x
|
|
|
|
SVGALIB_CONFIGURE_OFF= --without-svga
|
2013-04-30 00:27:05 +02:00
|
|
|
|
2013-08-28 22:24:50 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2006-04-29 23:50:26 +02:00
|
|
|
|
2013-04-30 00:27:05 +02:00
|
|
|
.if ${PORT_OPTIONS:MSVGALIB}
|
2013-11-03 02:50:12 +01:00
|
|
|
PLIST_SUB+= PROG="bin/lincity"
|
2003-12-21 18:44:51 +01:00
|
|
|
.else
|
2007-08-14 16:00:42 +02:00
|
|
|
USE_XORG= sm xext
|
2013-11-03 02:50:12 +01:00
|
|
|
PLIST_SUB+= PROG="bin/xlincity"
|
2004-07-11 12:22:46 +02:00
|
|
|
.endif
|
|
|
|
|
2013-08-28 22:24:50 +02:00
|
|
|
pre-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' ${WRKSRC}/readpng.c
|
|
|
|
|
1997-02-14 09:19:08 +01:00
|
|
|
.include <bsd.port.mk>
|