openbsd-ports/games/freeciv/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.32 2002/07/17 21:08:09 naddy Exp $
2001-08-23 21:59:19 -04:00
COMMENT= "Civilization clone for X11; multiplayer"
2000-03-03 05:39:42 -05:00
DISTNAME= freeciv-1.13.0
1998-05-19 19:44:24 -04:00
CATEGORIES= games
HOMEPAGE= http://www.freeciv.org/
1998-05-19 19:44:24 -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/
EXTRACT_SUFX= .tar.bz2
FLAVORS= gtk esd sdl
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
CONFIGURE_ARGS= --with-xaw
2000-02-16 21:52:49 -05:00
.endif
1998-05-19 19:44:24 -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>