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 2016 Alexander Pyhalov
15 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_VERSION
= 1.16.0
19 COMPONENT_PROJECT_URL
= http
://mate-desktop.org
/
20 COMPONENT_SUMMARY
= MATE text editor
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:0eb4a4486f1c83119969567cedb05894f25ac5d43cefb4c3ed88ca2f75eff29d
25 COMPONENT_ARCHIVE_URL
= http
://pub.mate-desktop.org
/releases
/1.16/$(COMPONENT_ARCHIVE
)
26 COMPONENT_CLASSIFICATION
= Applications
/Accessories
27 COMPONENT_LICENSE
= GPLv2
28 COMPONENT_LICENSE_FILE
= COPYING
29 COMPONENT_FMRI
= editor
/pluma
31 include $(WS_MAKE_RULES
)/prep.mk
32 include $(WS_MAKE_RULES
)/configure.mk
33 include $(WS_MAKE_RULES
)/ips.mk
35 PATH
=/usr
/gnu
/bin
:/usr
/bin
37 LDFLAGS
+= -lnsl
-lsocket
39 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
40 libtoolize
--copy
--force &&\
41 glib-gettextize
-f
&&\
42 intltoolize
--force --copy
&&\
48 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
49 CONFIGURE_OPTIONS
+= --libexecdir
=/usr
/lib
50 CONFIGURE_OPTIONS
+= --disable-static
52 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
54 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
59 install: $(INSTALL_32
)
63 REQUIRED_PACKAGES
+= developer
/documentation-tool
/gtk-doc
64 REQUIRED_PACKAGES
+= library
/desktop
/atk
65 REQUIRED_PACKAGES
+= library
/desktop
/cairo
66 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
67 REQUIRED_PACKAGES
+= library
/desktop
/gtk2
68 REQUIRED_PACKAGES
+= library
/desktop
/gtksourceview
69 REQUIRED_PACKAGES
+= library
/desktop
/mate
/mate-desktop
70 REQUIRED_PACKAGES
+= library
/desktop
/pango
71 REQUIRED_PACKAGES
+= library
/glib2
72 REQUIRED_PACKAGES
+= library
/libxml2
73 REQUIRED_PACKAGES
+= library
/spell-checking
/enchant
74 REQUIRED_PACKAGES
+= runtime
/python-27
75 REQUIRED_PACKAGES
+= system
/library
76 REQUIRED_PACKAGES
+= system
/library
/math
77 REQUIRED_PACKAGES
+= x11
/library
/libice
78 REQUIRED_PACKAGES
+= x11
/library
/libsm
79 REQUIRED_PACKAGES
+= x11
/library
/libx11