1 # Created by: Julian Assange
8 MASTER_SITES= SF/${PORTNAME}/Lincity%20Development%20Source/${PORTVERSION}
10 MAINTAINER= ports@FreeBSD.org
11 COMMENT= Rich city simulation game for X
14 LICENSE_FILE= ${WRKSRC}/COPYING
16 LIB_DEPENDS= libpng.so:graphics/png
20 CPPFLAGS+= -I${LOCALBASE}/include
21 LDFLAGS+= -L${LOCALBASE}/lib
23 OPTIONS_DEFINE= NLS SVGALIB
26 NLS_CONFIGURE_ENABLE= nls
29 SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib
30 SVGALIB_CONFIGURE_ON= --without-x
31 SVGALIB_CONFIGURE_OFF= --without-svga
33 .include <bsd.port.options.mk>
35 .if ${PORT_OPTIONS:MSVGALIB}
36 PLIST_SUB+= PROG="bin/lincity"
39 PLIST_SUB+= PROG="bin/xlincity"
43 @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' ${WRKSRC}/readpng.c
45 .include <bsd.port.mk>