openbsd-ports/games/freeciv/Makefile

72 lines
1.9 KiB
Makefile
Raw Normal View History

2010-11-16 06:23:25 -05:00
# $OpenBSD: Makefile,v 1.84 2010/11/16 11:23:26 espie Exp $
COMMENT-main= Civilization clone for X11; multiplayer; game server
COMMENT-client= Freeciv client
COMMENT-share= shared data files for Freeciv
2000-03-03 05:39:42 -05:00
VERSION= 2.2.3
DISTNAME= freeciv-${VERSION}
2010-10-11 04:11:24 -04:00
PKGNAME-main= freeciv-server-${VERSION}
PKGNAME-client= freeciv-client-${VERSION}
PKGNAME-share= freeciv-share-${VERSION}
1998-05-19 19:44:24 -04:00
CATEGORIES= games
HOMEPAGE= http://www.freeciv.org/
1998-05-19 19:44:24 -04:00
# GPLv2+
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
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freeciv/}
EXTRACT_SUFX= .tar.bz2
PSEUDO_FLAVORS= no_x11
FLAVOR?=
2010-10-18 14:00:15 -04:00
USE_GROFF = Yes
2006-11-26 05:40:05 -05:00
MULTI_PACKAGES= -main -share
2004-08-10 06:36:36 -04:00
MODULES= devel/gettext
WANTLIB= bz2 c m z ncurses readline
2001-08-23 21:59:19 -04:00
CONFIGURE_ARGS= --with-ggz-client=no
2005-07-09 06:36:18 -04:00
.if !${FLAVOR:L:Mno_x11}
MULTI_PACKAGES+= -client
CONFIGURE_ARGS+= --enable-client=gtk2 \
--disable-sdl-mixer
2005-07-09 06:36:18 -04:00
.else
CONFIGURE_ARGS+= --enable-client=no
2005-07-09 06:36:18 -04:00
.endif
2006-11-26 05:40:05 -05:00
PKG_ARCH-share= *
LIB_DEPENDS-share=
WANTLIB-share=
2010-11-16 06:23:25 -05:00
LIB_DEPENDS= archivers/bzip2
WANTLIB-client = ${WANTLIB}
WANTLIB-client += GL Xau Xcomposite Xcursor Xdamage Xdmcp Xfixes Xi Xinerama
WANTLIB-client += Xrandr Xxf86vm X11 Xext Xrender atk-1.0 cairo drm expat
WANTLIB-client += fontconfig freetype gdk_pixbuf-2.0 gdk-x11-2.0 gio-2.0
WANTLIB-client += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0
WANTLIB-client += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB-client += png pthread pthread-stubs xcb xcb-render xcb-shm
LIB_DEPENDS-main= ${LIB_DEPENDS}
2010-11-16 06:23:25 -05:00
LIB_DEPENDS-client= ${LIB_DEPENDS} x11/gtk+2
RUN_DEPENDS-client= devel/desktop-file-utils \
freeciv-share-${VERSION}:${BUILD_PKGPATH},-share
2010-11-16 06:23:25 -05:00
RUN_DEPENDS-main= freeciv-share-${VERSION}:${BUILD_PKGPATH},-share
2005-07-09 06:36:18 -04:00
USE_GMAKE= Yes
2003-03-31 08:07:46 -05:00
2005-07-09 06:36:18 -04:00
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib -lintl -liconv"
2001-08-23 21:59:19 -04:00
1998-05-19 19:44:24 -04:00
.include <bsd.port.mk>