pkgsrc/devel/ossp-uuid/patches/patch-aa
heinz 2822a6bbbc Initial import of ossp-uuid 1.6.0.
UUIDs are 128 bit numbers which are intended to have a high likelihood
of uniqueness over space and time and are computationally difficult
to guess. They are globally unique identifiers which can be locally
generated without contacting a global registration authority. UUIDs
are intended as unique identifiers for both mass tagging objects
with an extremely short lifetime and to reliably identifying very
persistent objects across a network.

OSSP uuid is a ISO-C:1999 application programming interface (API)
and corresponding command line interface (CLI) for the generation
of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant Universally
Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version
1 (time and node based), version 3 (name based, MD5), version 4
(random number based) and version 5 (name based, SHA-1). Additional
API bindings are provided for the languages ISO-C++:1998, Perl:5 and
PHP:4/5. Optional backward compatibility exists for the ISO-C DCE-1.1
and Perl Data::UUID APIs.
2007-05-20 02:42:27 +00:00

67 lines
3.5 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2007/05/20 02:42:27 heinz Exp $
Use pkgsrc install commands.
--- Makefile.in.orig 2007-05-19 21:58:11.000000000 +0200
+++ Makefile.in
@@ -223,38 +223,38 @@ check: all
.PHONY: install
install:
- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)
- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir)
- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)/pkgconfig
- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man3
- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
- $(SHTOOL) install -c -m 755 uuid-config $(DESTDIR)$(bindir)/
- $(SHTOOL) install -c -m 644 $(S)/uuid-config.1 $(DESTDIR)$(mandir)/man1/
- $(SHTOOL) install -c -m 644 $(S)/uuid.pc $(DESTDIR)$(libdir)/pkgconfig/
- $(SHTOOL) install -c -m 644 uuid.h $(DESTDIR)$(includedir)/
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)
+ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(bindir)
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(includedir)
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(libdir)/pkgconfig
+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man3
+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man1
+ $(BSD_INSTALL_SCRIPT) uuid-config $(DESTDIR)$(bindir)/
+ $(BSD_INSTALL_MAN) $(S)/uuid-config.1 $(DESTDIR)$(mandir)/man1/
+ $(BSD_INSTALL_DATA) $(S)/uuid.pc $(DESTDIR)$(libdir)/pkgconfig/
+ $(BSD_INSTALL_DATA) uuid.h $(DESTDIR)$(includedir)/
-@if [ ".$(WITH_DCE)" = .yes ]; then \
- echo "$(SHTOOL) install -c -m 644 $(S)/uuid_dce.h $(DESTDIR)$(includedir)/"; \
- $(SHTOOL) install -c -m 644 $(S)/uuid_dce.h $(DESTDIR)$(includedir)/; \
+ echo "$(BSD_INSTALL_DATA) $(S)/uuid_dce.h $(DESTDIR)$(includedir)/"; \
+ $(BSD_INSTALL_DATA) $(S)/uuid_dce.h $(DESTDIR)$(includedir)/; \
fi
-@if [ ".$(WITH_CXX)" = .yes ]; then \
- echo "$(SHTOOL) install -c -m 644 $(S)/uuid++.hh $(DESTDIR)$(includedir)/"; \
- $(SHTOOL) install -c -m 644 $(S)/uuid++.hh $(DESTDIR)$(includedir)/; \
+ echo "$(BSD_INSTALL_DATA) $(S)/uuid++.hh $(DESTDIR)$(includedir)/"; \
+ $(BSD_INSTALL_DATA) $(S)/uuid++.hh $(DESTDIR)$(includedir)/; \
fi
- $(SHTOOL) install -c -m 644 $(S)/uuid.3 $(DESTDIR)$(mandir)/man3/
+ $(BSD_INSTALL_MAN) $(S)/uuid.3 $(DESTDIR)$(mandir)/man3/
-@if [ ".$(WITH_CXX)" = .yes ]; then \
- echo "$(SHTOOL) install -c -m 644 $(S)/uuid++.3 $(DESTDIR)$(mandir)/man3/"; \
- $(SHTOOL) install -c -m 644 $(S)/uuid++.3 $(DESTDIR)$(mandir)/man3/; \
+ echo "$(BSD_INSTALL_MAN) $(S)/uuid++.3 $(DESTDIR)$(mandir)/man3/"; \
+ $(BSD_INSTALL_MAN) $(S)/uuid++.3 $(DESTDIR)$(mandir)/man3/; \
fi
- @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 $(LIB_NAME) $(DESTDIR)$(libdir)/
+ @$(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $(LIB_NAME) $(DESTDIR)$(libdir)/
-@if [ ".$(WITH_DCE)" = .yes ]; then \
- $(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 $(DCE_NAME) $(DESTDIR)$(libdir)/; \
+ $(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $(DCE_NAME) $(DESTDIR)$(libdir)/; \
fi
-@if [ ".$(WITH_CXX)" = .yes ]; then \
- $(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 $(CXX_NAME) $(DESTDIR)$(libdir)/; \
+ $(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $(CXX_NAME) $(DESTDIR)$(libdir)/; \
fi
- @$(LIBTOOL) --mode=install $(SHTOOL) install -c -s -m 755 uuid $(DESTDIR)$(bindir)/
- $(SHTOOL) install -c -m 644 $(S)/uuid.1 $(DESTDIR)$(mandir)/man1/
+ @$(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) uuid $(DESTDIR)$(bindir)/
+ $(BSD_INSTALL_MAN) $(S)/uuid.1 $(DESTDIR)$(mandir)/man1/
-@if [ ".$(WITH_PERL)" = .yes ]; then \
(cd $(S)/perl && $(MAKE) $(MFLAGS) install DESTDIR=$(DESTDIR)); \
fi