component(developer/golang-123): Add Component
[oi-userland.git] / components / x11 / xmag_multivis / Makefile
blob69058ed9ac6bd089f9c60adbe1dd1071c0976453
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Aurelien Larcher
16 BUILD_BITS=64
17 BUILD_STYLE=justmake
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= xmag_multivis
21 COMPONENT_VERSION= 7.5
22 COMPONENT_REVISION= 1
23 COMPONENT_FMRI= x11/xmag_multivis
24 COMPONENT_CLASSIFICATION= System/X11
25 COMPONENT_SUMMARY= xmag_multivis - multiple visual version of xmag screen magnification utility
26 COMPONENT_SRC= src
27 COMPONENT_PROJECT_URL = https://hg.java.net/hg/solaris-x11~x-s12-clone
28 COMPONENT_LICENSE= MIT License
30 TEST_TARGET=$(NO_TESTS)
31 include $(WS_MAKE_RULES)/common.mk
33 PATH=$(PATH.gnu)
35 COMPONENT_COMMON_ENV= CC=$(CC)
36 COMPONENT_COMMON_ENV+= CFLAGS="$(CFLAGS)"
37 COMPONENT_COMMON_ENV+= LDFLAGS="$(LDFLAGS)"
39 COMPONENT_BUILD_ENV+= $(COMPONENT_COMMON_ENV)
40 COMPONENT_BUILD_ENV+= PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
41 COMPONENT_BUILD_ARGS= VPATH=$(SOURCE_DIR) -f $(SOURCE_DIR)/Makefile
42 COMPONENT_INSTALL_ENV+= INSTALL=$(INSTALL)
43 COMPONENT_INSTALL_ENV+= DESTDIR=$(PROTO_DIR)
44 COMPONENT_INSTALL_ENV+= bindir=$(USRBINDIR)
45 COMPONENT_INSTALL_ENV+= mandir=$(USRSHAREMANDIR)
47 REQUIRED_PACKAGES += system/library
48 REQUIRED_PACKAGES += x11/library/libx11
49 REQUIRED_PACKAGES += x11/library/libxext