Marcel Telka
2022-02-11 1ead3ce527caa94ca20332fa979dda2b78cc1df3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2021 Jake Goerzen
#
 
BUILD_BITS= 64
 
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=        freeciv
COMPONENT_VERSION=    2.6.6
COMPONENT_REVISION=    1
COMPONENT_SUMMARY=    Free and Open Source empire-building strategy game inspired by the history of human civilization.
COMPONENT_PROJECT_URL=    http://www.freeciv.org
COMPONENT_FMRI=        games/freeciv
COMPONENT_CLASSIFICATION=    Applications/Games
COMPONENT_SRC_NAME=    freeciv
COMPONENT_SRC=          $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.bz2
COMPONENT_ARCHIVE_HASH=    \
    sha256:7bcfe5dd3c081122e7cde7cdb24f57c3681d6a9667496faed207a91ac3165811
COMPONENT_ARCHIVE_URL=  http://prdownloads.sourceforge.net/freeciv/$(COMPONENT_SRC).tar.bz2?download
COMPONENT_LICENSE=    GPLv2.0
COMPONENT_LICENSE_FILE=    COPYING
 
TEST_TARGET= $(NO_TESTS)
 
include $(WS_MAKE_RULES)/common.mk
 
CONFIGURE_OPTIONS += --disable-sdl-mixer
CONFIGURE_OPTIONS += --disable-dependency-tracking
 
# Auto-generated dependencies
REQUIRED_PACKAGES += compress/bzip2
REQUIRED_PACKAGES += compress/xz
REQUIRED_PACKAGES += image/imagemagick
REQUIRED_PACKAGES += library/desktop/cairo
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
REQUIRED_PACKAGES += library/desktop/gtk3
REQUIRED_PACKAGES += library/desktop/pango
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/readline
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += runtime/lua-53
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += web/curl