1997-02-14 09:19:08 +01:00
|
|
|
# New ports collection makefile for: lincity
|
|
|
|
# Date created: 13 Feb 1997
|
|
|
|
# Whom: 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
|
2003-12-21 18:44:51 +01:00
|
|
|
PORTVERSION= 1.12.0
|
2004-02-04 05:36:30 +01:00
|
|
|
PORTREVISION= 1
|
1997-02-14 09:19:08 +01:00
|
|
|
CATEGORIES= games
|
2003-12-21 18:44:51 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
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
|
|
|
|
2003-12-21 18:44:51 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= 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
|
|
|
|
|
2003-12-21 18:44:51 +01:00
|
|
|
.if defined(WITH_SVGALIB)
|
|
|
|
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
PLIST_SUB= PROG="bin/lincity"
|
|
|
|
.else
|
|
|
|
USE_XLIB= yes
|
|
|
|
CONFIGURE_ARGS+= --without-svga
|
|
|
|
PLIST_SUB= PROG="bin/xlincity"
|
|
|
|
.endif
|
|
|
|
|
2004-07-11 12:22:46 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
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>
|