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