ptlib - fix openldap inclusion
[oi-userland.git] / components / text / dwdiff / Makefile
blob7de7035b6d2f8e401e1ad5a74aa25ab7b56b1fda
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 2024 Matthew R. Trower
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= dwdiff
19 COMPONENT_VERSION= 2.1.4
20 COMPONENT_SUMMARY= dwdiff - a diff program that operates at the word level
21 COMPONENT_PROJECT_URL= https://os.ghalkes.nl/dwdiff.html
22 COMPONENT_FMRI= text/dwdiff
23 COMPONENT_CLASSIFICATION=System/Text Tools
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
26 COMPONENT_ARCHIVE_URL= https://os.ghalkes.nl/dist/$(COMPONENT_ARCHIVE)
27 COMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).sig
28 COMPONENT_ARCHIVE_HASH= \
29 sha256:df16fec44dcb467d65a4246a43628f93741996c1773e930b90c6dde22dd58e0a
30 COMPONENT_LICENSE= GPLv3
31 COMPONENT_LICENSE_FILE= COPYING
34 TEST_TARGET=$(NO_TESTS)
36 include $(WS_MAKE_RULES)/common.mk
38 # Provide standards-conforming versions of install(8) and getpwuid_r(3C)
39 CONFIGURE_OPTIONS+= INSTALL=/usr/ucb/install
40 CONFIGURE_OPTIONS+= CFLAGS=-D_POSIX_PTHREAD_SEMANTICS
42 # Wants to be built in-tree, so copy source tree to build dir
43 COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) )
45 # Build dependencies
46 REQUIRED_PACKAGES+= text/gnu-gettext
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES += $(ICU_LIBRARY_PKG)
50 REQUIRED_PACKAGES += system/library