freebsd-ports/games/lincity/Makefile

46 lines
916 B
Makefile
Raw Normal View History

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