2002-07-17 17:08:09 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2002/07/17 21:08:09 naddy Exp $
|
2001-05-05 21:06:09 -04:00
|
|
|
|
2001-08-23 21:59:19 -04:00
|
|
|
COMMENT= "Civilization clone for X11; multiplayer"
|
2000-03-03 05:39:42 -05:00
|
|
|
|
2002-07-17 17:08:09 -04:00
|
|
|
DISTNAME= freeciv-1.13.0
|
1998-05-19 19:44:24 -04:00
|
|
|
CATEGORIES= games
|
2000-07-22 14:56:22 -04:00
|
|
|
HOMEPAGE= http://www.freeciv.org/
|
1998-05-19 19:44:24 -04:00
|
|
|
|
2002-07-17 17:08:09 -04:00
|
|
|
MAINTAINER= Aleksander Piotrowski <aleksander.piotrowski@piestrak.waw.pl>
|
|
|
|
|
2001-08-23 21:59:19 -04:00
|
|
|
# GPL
|
2000-03-05 13:30:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2001-08-23 21:59:19 -04:00
|
|
|
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable/
|
2002-07-17 17:08:09 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2000-07-22 14:56:22 -04:00
|
|
|
|
2002-07-17 17:08:09 -04:00
|
|
|
FLAVORS= gtk esd sdl
|
2000-10-04 01:39:18 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2001-10-24 22:19:12 -04:00
|
|
|
MODULES= gettext
|
2001-08-23 21:59:19 -04:00
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgtk}
|
2001-10-24 08:14:50 -04:00
|
|
|
LIB_DEPENDS+= Imlib.19,gdk_imlib::graphics/imlib
|
2000-02-16 21:52:49 -05:00
|
|
|
.else
|
2000-07-22 14:56:22 -04:00
|
|
|
CONFIGURE_ARGS= --with-xaw
|
2000-02-16 21:52:49 -05:00
|
|
|
.endif
|
1998-05-19 19:44:24 -04:00
|
|
|
|
2002-07-17 17:08:09 -04:00
|
|
|
.if ${FLAVOR:L:Msdl}
|
|
|
|
LIB_DEPENDS+= SDL_mixer::devel/sdl-mixer
|
|
|
|
CONFIGURE_ARGS+= --with-sdl-prefix=${LOCALBASE}
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-sdl-mixer
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mesd}
|
|
|
|
LIB_DEPENDS+= esd.2::audio/esound
|
|
|
|
CONFIGURE_ARGS+= --with-esd-prefix=${LOCALBASE}
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-esd
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2001-08-23 21:59:19 -04:00
|
|
|
|
1998-05-19 19:44:24 -04:00
|
|
|
.include <bsd.port.mk>
|