openbsd-ports/games/freeciv/Makefile
2001-06-05 21:45:53 +00:00

36 lines
716 B
Makefile

# $OpenBSD: Makefile,v 1.28 2001/06/05 21:45:53 naddy Exp $
COMMENT= "Civilization clone for X; multiplayer"
DISTNAME= freeciv-1.11.4
PKGNAME= ${DISTNAME}p1
CATEGORIES= games
NEED_VERSION= 1.402
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable/
HOMEPAGE= http://www.freeciv.org/
LIB_DEPENDS= intl.1::devel/gettext
MAINTAINER= ports@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FLAVORS= gtk
FLAVOR?=
.if ${FLAVOR:L} == "gtk"
LIB_DEPENDS+= Imlib.19::graphics/imlib
.else
CONFIGURE_ARGS= --with-xaw
.endif
.include <bsd.port.mk>