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
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 6
|
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
|
|
|
|
2013-04-30 00:27:05 +02:00
|
|
|
OPTIONS_DEFINE= SVGALIB NLS
|
|
|
|
|
2012-06-01 07:26:28 +02:00
|
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
2006-04-29 23:50:26 +02:00
|
|
|
|
2013-08-01 00:52:05 +02:00
|
|
|
USES= gmake
|
2011-07-20 20:11:31 +02:00
|
|
|
USE_CSTD= c89
|
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
|
|
|
|
1997-02-14 09:19:08 +01:00
|
|
|
MAN6= lincity.6
|
|
|
|
|
2013-04-30 00:27:05 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2006-04-29 23:50:26 +02:00
|
|
|
pre-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' ${WRKSRC}/readpng.c
|
|
|
|
|
2013-04-30 00:27:05 +02:00
|
|
|
.if ${PORT_OPTIONS:MSVGALIB}
|
2003-12-21 18:44:51 +01:00
|
|
|
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
PLIST_SUB= PROG="bin/lincity"
|
|
|
|
.else
|
2007-08-14 16:00:42 +02:00
|
|
|
USE_XORG= sm xext
|
2003-12-21 18:44:51 +01:00
|
|
|
CONFIGURE_ARGS+= --without-svga
|
|
|
|
PLIST_SUB= PROG="bin/xlincity"
|
|
|
|
.endif
|
|
|
|
|
2013-04-30 00:27:05 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2004-07-11 12:22:46 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
1997-02-14 09:19:08 +01:00
|
|
|
.include <bsd.port.mk>
|