- add missing dependency on gettext
- remove old USE_GTK knob - remove unneccesary CONFIGURE_ENV
This commit is contained in:
parent
78af3af93a
commit
f807edbd30
@ -1,12 +1,14 @@
|
||||
# $OpenBSD: Makefile,v 1.24 2000/07/23 01:55:49 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.25 2000/10/04 05:39:18 brad Exp $
|
||||
|
||||
DISTNAME= freeciv-1.11.4
|
||||
CATEGORIES= games
|
||||
NEED_VERSION= 1.310
|
||||
NEED_VERSION= 1.336
|
||||
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
|
||||
@ -14,26 +16,16 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
# If USE_GTK is defined, freeciv will be built with a prettier look and
|
||||
# feel:
|
||||
#USE_GTK= Yes
|
||||
|
||||
.if defined(USE_GTK)
|
||||
FLAVOR= gtk
|
||||
.endif
|
||||
|
||||
FLAVORS= gtk
|
||||
FLAVOR?=
|
||||
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
FLAVORS= gtk
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L} == "gtk"
|
||||
LIB_DEPENDS= gtk.1.2::x11/gtk+ \
|
||||
LIB_DEPENDS+= gtk.1.2::x11/gtk+ \
|
||||
Imlib.19::graphics/imlib
|
||||
CONFIGURE_ENV+= GTK_CONFIG="${PREFIX}/bin/gtk-config"
|
||||
.else
|
||||
CONFIGURE_ARGS= --with-xaw
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user