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.
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.
12 # Copyright 2022 Niklas Poslovski
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 0.161
20 COMPONENT_PROJECT_URL
= https
://pan.rebelbase.com
21 COMPONENT_SUMMARY
= A powerful Newsgroup Article reader
22 COMPONENT_FMRI
= desktop
/nntp
/pan
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-v
$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
25 COMPONENT_ARCHIVE_HASH
= sha256
:4c2c34b9e4a13275b73fae4f5dbdb3f857cf6b58c4813a373dd9d67ce37779d9
26 COMPONENT_ARCHIVE_URL
= https
://gitlab.gnome.org
/GNOME
/pan
/-/archive
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_CLASSIFICATION
= Applications
/Internet
28 COMPONENT_LICENSE
= GPLv2
29 COMPONENT_LICENSE_FILE
= COPYING
31 TEST_TARGET
= $(NO_TESTS
)
32 include $(WS_MAKE_RULES
)/common.mk
34 LDFLAGS
+= -lsocket
-lnsl
36 CMAKE_OPTIONS
+= -DWANT_GKR
=ON
38 # SPARC needs math library
39 ifeq ($(strip $(MACH
)),sparc
)
40 REQUIRED_PACKAGES
+= system
/library
/math
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
45 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
46 REQUIRED_PACKAGES
+= library
/desktop
/cairo
47 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
48 REQUIRED_PACKAGES
+= library
/desktop
/gspell-3
49 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
50 REQUIRED_PACKAGES
+= library
/desktop
/pango
51 REQUIRED_PACKAGES
+= library
/glib2
52 REQUIRED_PACKAGES
+= library
/gmime3
53 REQUIRED_PACKAGES
+= library
/gnome
/gcr
54 REQUIRED_PACKAGES
+= library
/gnutls-3
55 REQUIRED_PACKAGES
+= library
/libsecret
56 REQUIRED_PACKAGES
+= library
/zlib
57 REQUIRED_PACKAGES
+= system
/library