summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-16 22:59:08 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-16 22:59:08 +0000
commitda4298f57d6d68c72fe1b2ccb42fe733fa1fb65e (patch)
treeedb49b14c1c89d4ba325196e37cda6e00cec68a3 /games
parentb2c0408ded5b0de4eecfcfe32d3aed30a0e3350a (diff)
downloadpkgsrc-da4298f57d6d68c72fe1b2ccb42fe733fa1fb65e.tar.gz
Supports DESTDIR. Remove x11 option -- it still requires Xaw to build
and that makes it kind of pointless.
Diffstat (limited to 'games')
-rw-r--r--games/freeciv-client/Makefile4
-rw-r--r--games/freeciv-client/options.mk7
2 files changed, 4 insertions, 7 deletions
diff --git a/games/freeciv-client/Makefile b/games/freeciv-client/Makefile
index c3fbacb7cc9..6258d8cc0b9 100644
--- a/games/freeciv-client/Makefile
+++ b/games/freeciv-client/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.32 2007/03/18 13:12:14 adam Exp $
+# $NetBSD: Makefile,v 1.33 2007/08/16 22:59:08 joerg Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
COMMENT= Freeciv client
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= freeciv-share>=${FC_VERS}:../../games/freeciv-share
DEPENDS+= freeciv-sounds>=3.0:../../games/freeciv-sounds
diff --git a/games/freeciv-client/options.mk b/games/freeciv-client/options.mk
index 2aa8ec42750..3a9e940f0d0 100644
--- a/games/freeciv-client/options.mk
+++ b/games/freeciv-client/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2005/10/20 13:37:41 dillo Exp $
+# $NetBSD: options.mk,v 1.3 2007/08/16 22:59:08 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.freeciv-client
PKG_OPTIONS_REQUIRED_GROUPS= backend
@@ -32,8 +32,3 @@ CONFIGURE_ARGS+= --enable-client=xaw3d
CONFIGURE_ARGS+= --enable-ftwl=sdl
.include "../../audio/SDL_mixer/buildlink3.mk"
.endif
-
-.if !empty(PKG_OPTIONS:Mx11)
-CONFIGURE_ARGS+= --enable-ftwl=x11
-.include "../../mk/x11.buildlink3.mk"
-.endif