aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-02-29 23:26:01 +0800
committersheldonh <sheldonh@FreeBSD.org>2000-02-29 23:26:01 +0800
commit69b6f33b36fc549385b3b8753d2f5f6260f3b8cf (patch)
tree3b70f180946b736ccc7eedb461a3a2a414ce1e98
parent36e8b45e577fb574043da565e6c0ebd9594b2c4e (diff)
downloadfreebsd-ports-gnome-69b6f33b36fc549385b3b8753d2f5f6260f3b8cf.tar.gz
freebsd-ports-gnome-69b6f33b36fc549385b3b8753d2f5f6260f3b8cf.tar.zst
freebsd-ports-gnome-69b6f33b36fc549385b3b8753d2f5f6260f3b8cf.zip
Add a freeciv-gtk wrapper port so that packages are built for both
the standard Athena Widgets and the GNOME toolkit.
-rw-r--r--games/freeciv-gtk/Makefile13
-rw-r--r--games/freeciv-gtk/pkg-comment1
-rw-r--r--games/freeciv-gtk/pkg-descr4
-rw-r--r--games/freeciv-gtk/pkg-plist111
-rw-r--r--games/freeciv-gtk2/Makefile9
-rw-r--r--games/freeciv/Makefile9
6 files changed, 137 insertions, 10 deletions
diff --git a/games/freeciv-gtk/Makefile b/games/freeciv-gtk/Makefile
new file mode 100644
index 000000000000..662f387923f6
--- /dev/null
+++ b/games/freeciv-gtk/Makefile
@@ -0,0 +1,13 @@
+# New ports collection makefile for: freeciv-gtk
+# Version required: 1.10.0
+# Date created: 29 Feb 2000
+# Whom: sheldonh
+#
+# $FreeBSD$
+#
+
+MASTERDIR= ${.CURDIR}/../freeciv
+
+USE_GTK= yes
+
+.include "${MASTERDIR}/Makefile"
diff --git a/games/freeciv-gtk/pkg-comment b/games/freeciv-gtk/pkg-comment
new file mode 100644
index 000000000000..eb0feb6d30d7
--- /dev/null
+++ b/games/freeciv-gtk/pkg-comment
@@ -0,0 +1 @@
+A civilisation clone for x using GNOME; multiplayer
diff --git a/games/freeciv-gtk/pkg-descr b/games/freeciv-gtk/pkg-descr
new file mode 100644
index 000000000000..9bc7cee5b0d3
--- /dev/null
+++ b/games/freeciv-gtk/pkg-descr
@@ -0,0 +1,4 @@
+This is a multiplayer 'Civilisation(tm)' clone for X windows, using
+the GNOME toolkit as a framework for the GUI.
+
+WWW: http://www.freeciv.org/
diff --git a/games/freeciv-gtk/pkg-plist b/games/freeciv-gtk/pkg-plist
new file mode 100644
index 000000000000..47321e7c27db
--- /dev/null
+++ b/games/freeciv-gtk/pkg-plist
@@ -0,0 +1,111 @@
+bin/civclient
+bin/civserver
+share/freeciv/Freeciv
+share/freeciv/civ1.serv
+share/freeciv/civ1/buildings.ruleset
+share/freeciv/civ1/governments.ruleset
+share/freeciv/civ1/techs.ruleset
+share/freeciv/civ1/terrain.ruleset
+share/freeciv/civ1/units.ruleset
+share/freeciv/civ2.serv
+share/freeciv/civ2/buildings.ruleset
+share/freeciv/civ2/governments.ruleset
+share/freeciv/civ2/techs.ruleset
+share/freeciv/civ2/terrain.ruleset
+share/freeciv/civ2/units.ruleset
+share/freeciv/classic/terrain.ruleset
+share/freeciv/default/buildings.ruleset
+share/freeciv/default/cities.ruleset
+share/freeciv/default/governments.ruleset
+share/freeciv/default/nations.ruleset
+share/freeciv/default/techs.ruleset
+share/freeciv/default/terrain.ruleset
+share/freeciv/default/units.ruleset
+share/freeciv/engels.tilespec
+share/freeciv/engels/cities.spec
+share/freeciv/engels/cities.xpm
+share/freeciv/engels/explosions.spec
+share/freeciv/engels/explosions.xpm
+share/freeciv/engels/flags.spec
+share/freeciv/engels/flags.xpm
+share/freeciv/engels/roads.spec
+share/freeciv/engels/roads.xpm
+share/freeciv/engels/tiles.spec
+share/freeciv/engels/tiles.xpm
+share/freeciv/engels/units.spec
+share/freeciv/engels/units.xpm
+share/freeciv/engels_shields.tilespec
+share/freeciv/helpdata.txt
+share/freeciv/misc/chiefs.spec
+share/freeciv/misc/chiefs.xpm
+share/freeciv/misc/intro.xpm
+share/freeciv/misc/radar.xpm
+share/freeciv/misc/shields.spec
+share/freeciv/misc/shields.xpm
+share/freeciv/misc/small.spec
+share/freeciv/misc/small.xpm
+share/freeciv/misc/space.spec
+share/freeciv/misc/space.xpm
+share/freeciv/misc/treaty.spec
+share/freeciv/misc/treaty.xpm
+share/freeciv/scenario/earth-160x90-v1.sav
+share/freeciv/scenario/earth-160x90-v2.sav
+share/freeciv/scenario/earth-80x50-v1.sav
+share/freeciv/scenario/earth-80x50-v2.sav
+share/freeciv/scenario/europe-200x100-v1.sav
+share/freeciv/scenario/europe-200x100-v2.sav
+share/freeciv/trident.tilespec
+share/freeciv/trident/auto_ll.spec
+share/freeciv/trident/cities.spec
+share/freeciv/trident/cities.xpm
+share/freeciv/trident/explosions.spec
+share/freeciv/trident/explosions.xpm
+share/freeciv/trident/flags.spec
+share/freeciv/trident/flags.xpm
+share/freeciv/trident/roads.spec
+share/freeciv/trident/roads.xpm
+share/freeciv/trident/tiles.spec
+share/freeciv/trident/tiles.xpm
+share/freeciv/trident/units.spec
+share/freeciv/trident/units.xpm
+share/freeciv/trident_shields.tilespec
+share/locale/de/LC_MESSAGES/freeciv.mo
+share/locale/en_GB/LC_MESSAGES/freeciv.mo
+share/locale/es/LC_MESSAGES/freeciv.mo
+share/locale/fr/LC_MESSAGES/freeciv.mo
+share/locale/hu/LC_MESSAGES/freeciv.mo
+share/locale/no/LC_MESSAGES/freeciv.mo
+share/locale/pl/LC_MESSAGES/freeciv.mo
+share/locale/pt/LC_MESSAGES/freeciv.mo
+share/locale/pt_BR/LC_MESSAGES/freeciv.mo
+share/locale/ru/LC_MESSAGES/freeciv.mo
+@dirrm share/freeciv
+@dirrm share/freeciv/misc
+@dirrm share/freeciv/trident
+@dirrm share/freeciv/engels
+@dirrm share/freeciv/default
+@dirrm share/freeciv/classic
+@dirrm share/freeciv/civ1
+@dirrm share/freeciv/civ2
+@dirrm share/freeciv/scenario
+@dirrm share/locale
+@dirrm share/locale/de
+@dirrm share/locale/de/LC_MESSAGES
+@dirrm share/locale/en_GB
+@dirrm share/locale/en_GB/LC_MESSAGES
+@dirrm share/locale/es
+@dirrm share/locale/es/LC_MESSAGES
+@dirrm share/locale/fr
+@dirrm share/locale/fr/LC_MESSAGES
+@dirrm share/locale/hu
+@dirrm share/locale/hu/LC_MESSAGES
+@dirrm share/locale/no
+@dirrm share/locale/no/LC_MESSAGES
+@dirrm share/locale/pl
+@dirrm share/locale/pl/LC_MESSAGES
+@dirrm share/locale/pt
+@dirrm share/locale/pt/LC_MESSAGES
+@dirrm share/locale/pt_BR
+@dirrm share/locale/pt_BR/LC_MESSAGES
+@dirrm share/locale/ru
+@dirrm share/locale/ru/LC_MESSAGES
diff --git a/games/freeciv-gtk2/Makefile b/games/freeciv-gtk2/Makefile
index f5ef767c5257..191ed392594f 100644
--- a/games/freeciv-gtk2/Makefile
+++ b/games/freeciv-gtk2/Makefile
@@ -7,16 +7,15 @@
#
DISTNAME= freeciv-1.10.0
+.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
+PKGNAME= freeciv-gtk-1.10.0
+.endif
CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_version/ \
ftp://ftp.pvv.ntnu.no/pub/freeciv/stable_version/
MAINTAINER= sheldonh@freebsd.org
-# If USE_GTK is defined, freeciv will be built with a prettier look and
-# feel:
-#USE_GTK= yes
-
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
.if defined(USE_GTK)
LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
@@ -24,7 +23,7 @@ LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
USE_BZIP2= yes
GNU_CONFIGURE= yes
-.if defined(USE_GTK)
+.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
.else
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index f5ef767c5257..191ed392594f 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -7,16 +7,15 @@
#
DISTNAME= freeciv-1.10.0
+.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
+PKGNAME= freeciv-gtk-1.10.0
+.endif
CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_version/ \
ftp://ftp.pvv.ntnu.no/pub/freeciv/stable_version/
MAINTAINER= sheldonh@freebsd.org
-# If USE_GTK is defined, freeciv will be built with a prettier look and
-# feel:
-#USE_GTK= yes
-
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
.if defined(USE_GTK)
LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
@@ -24,7 +23,7 @@ LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
USE_BZIP2= yes
GNU_CONFIGURE= yes
-.if defined(USE_GTK)
+.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
.else