Andreas Wacknitz
2023-11-27 6d84a3dd6c960de4b799efc3c6d987673726d6f5
commit | author | age
f82a2e 1 #
AP 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.
6 #
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.
10 #
11
12 #
e2ccfb 13 # Copyright 2015 Alexander Pyhalov
1cf624 14 # Copyright 2018 Michal Nowak
43f2e5 15 # Copyright 2022 Andreas Wacknitz
f82a2e 16 #
43f2e5 17 BUILD_STYLE= justmake
202979 18 include ../../../make-rules/shared-macros.mk
f82a2e 19
AP 20 COMPONENT_NAME=     pgbadger
6d84a3 21 COMPONENT_VERSION=     12.3
1cf624 22 COMPONENT_SUMMARY=     A fast PostgreSQL log analyzer
f82a2e 23 COMPONENT_SRC=         $(COMPONENT_NAME)-$(COMPONENT_VERSION)
AP 24 COMPONENT_ARCHIVE=     $(COMPONENT_SRC).tar.gz
6d84a3 25 COMPONENT_ARCHIVE_HASH= sha256:c3d5a583d12b09f7b47e628760ccb7409362c54b5ca574de4cfd3ccf51c35106
43f2e5 26 COMPONENT_ARCHIVE_URL=    https://github.com/darold/pgbadger/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
AW 27 COMPONENT_PROJECT_URL=    https://dalibo.github.io/pgbadger/
28 COMPONENT_FMRI=    database/postgres/$(COMPONENT_NAME)
6d84a3 29 COMPONENT_CLASSIFICATION=    System/Databases
AW 30 COMPONENT_LICENSE=    PostgreSQL
31 COMPONENT_LICENSE_FILE=    LICENSE
f82a2e 32
1a02e1 33 TEST_TARGET= $(NO_TESTS)
43f2e5 34 include $(WS_MAKE_RULES)/common.mk
f82a2e 35
AP 36 # Using makemaker.mk here is an overkill,
1cf624 37 # because we don't need versioned pgbadger
43f2e5 38 COMPONENT_PRE_BUILD_ACTION = ( cd $(BUILD_DIR_64) && $(PERL) Makefile.PL )
f82a2e 39
43f2e5 40 PKG_PROTO_DIRS += $(BUILD_DIR_64)
202979 41
AL 42 # Auto-generated dependencies
1a02e1 43 PERL_REQUIRED_PACKAGES += runtime/perl