| 1 | NAME = freeciv |
|---|
| 2 | VERSION = 2.3.1 |
|---|
| 3 | CATEGORIES = apps |
|---|
| 4 | GARTYPE = v2 |
|---|
| 5 | |
|---|
| 6 | DESCRIPTION = Free turn-based multiplayer strategy game |
|---|
| 7 | define BLURB |
|---|
| 8 | Freeciv is a Free and Open Source empire-building strategy game inspired by the history of human civilization. The game commences in prehistory and your mission is to lead your tribe from the stone age to the space age... |
|---|
| 9 | endef |
|---|
| 10 | |
|---|
| 11 | MASTER_SITES += $(SF_MIRRORS) |
|---|
| 12 | DISTFILES = $(NAME)-$(VERSION).tar.gz |
|---|
| 13 | |
|---|
| 14 | # We define upstream file regex so we can be notifed of new upstream software release |
|---|
| 15 | UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=138322 |
|---|
| 16 | UPSTREAM_USE_SF = 1 |
|---|
| 17 | UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz |
|---|
| 18 | |
|---|
| 19 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibgthread2-0-0 |
|---|
| 20 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibbz2-1-0 |
|---|
| 21 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibiconv2 |
|---|
| 22 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibgmodule2-0-0 |
|---|
| 23 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibz1 |
|---|
| 24 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibintl8 |
|---|
| 25 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWftype2 |
|---|
| 26 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibcairo2 |
|---|
| 27 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibgobject2-0-0 |
|---|
| 28 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWgtk2 |
|---|
| 29 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibsdl1-2-0 |
|---|
| 30 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibatk1-0-0 |
|---|
| 31 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWpango |
|---|
| 32 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibreadline6 |
|---|
| 33 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWfconfig |
|---|
| 34 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibglib2-0-0 |
|---|
| 35 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWsdlmixer |
|---|
| 36 | RUNTIME_DEP_PKGS_CSWfreeciv += CSWlibgio2-0-0 |
|---|
| 37 | |
|---|
| 38 | GARCOMPILER = GNU |
|---|
| 39 | |
|---|
| 40 | PATCHFILES += 0001-use-finite-instead-of-isfinite.patch |
|---|
| 41 | |
|---|
| 42 | TEST_SCRIPTS = |
|---|
| 43 | |
|---|
| 44 | CONFIGURE_ARGS += $(DIRPATHS) |
|---|
| 45 | |
|---|
| 46 | # build package on Solaris 10 |
|---|
| 47 | PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386 |
|---|
| 48 | |
|---|
| 49 | include gar/category.mk |
|---|
| 50 | |
|---|
| 51 | post-install-modulated: |
|---|
| 52 | |
|---|
| 53 | perl -pi -e 's|/usr/local|/opt/csw|' \ |
|---|
| 54 | $(DESTDIR)/opt/csw/share/man/man6/freeciv-*.6 |
|---|