38 lines
817 B
Makefile
38 lines
817 B
Makefile
# $OpenBSD: Makefile,v 1.16 2000/02/17 02:52:49 kevlo Exp $
|
|
|
|
DISTNAME= freeciv-1.9.0
|
|
PKGNAME= freeciv-1.9.0-gtk
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_version/
|
|
|
|
MAINTAINER= israfil@gmx.net
|
|
|
|
LICENSE_TYPE= GPL
|
|
PERMIT_PACKAGE_CDROM= YES
|
|
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)
|
|
LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext \
|
|
glib.1.2:${PORTSDIR}/devel/glib \
|
|
gtk.1.2:${PORTSDIR}/x11/gtk+ \
|
|
Imlib.19:${PORTSDIR}/graphics/imlib
|
|
.endif
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
.if defined(USE_GTK)
|
|
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk-config"
|
|
.else
|
|
CONFIGURE_ARGS= --disable-gtktest
|
|
.endif
|
|
|
|
NO_INSTALL_MANPAGES= yes
|
|
|
|
.include <bsd.port.mk>
|