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
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 2016 Alexander Pyhalov
14 # Copyright 2023 Niklas Poslovski
20 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_NAME
= awstats
23 COMPONENT_VERSION
= 7.9
24 COMPONENT_SUMMARY
= AWStats
- Log File Analyzer for Advanced Statistics
25 COMPONENT_FMRI
= web
/analytics
/awstats
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
28 COMPONENT_ARCHIVE_HASH
= sha256
:615178ed313d34315f15a522db1a5d12ca9c395e3785bb06280abff95d9a0546
29 COMPONENT_ARCHIVE_URL
= https
://downloads.sourceforge.net
/awstats
/$(COMPONENT_ARCHIVE
)
30 COMPONENT_PROJECT_URL
= https
://awstats.sourceforge.net
/
31 COMPONENT_CLASSIFICATION
= Web Services
/Application and Web Servers
32 COMPONENT_LICENSE
= GPLv3
34 BUILD_TARGET
= $(BUILD_
$(MK_BITS
))
35 INSTALL_TARGET
= $(INSTALL_
$(MK_BITS
))
37 include $(WS_MAKE_RULES
)/common.mk
39 CLEAN_PATHS
+= $(BUILD_DIR
)
41 $(BUILD_
$(MK_BITS
)): $(SOURCE_DIR
)/.prep
42 $(RM
) -r
$(@D
) ; $(MKDIR
) $(@D
)
43 $(CLONEY
) $(SOURCE_DIR
) $(@D
)
46 $(INSTALL_
$(MK_BITS
)): $(BUILD_
$(MK_BITS
))
48 $(MKDIR
) $(PROTO_DIR
)/usr
/lib
/awstats
49 $(CP
) -r
$(@D
)/README.md
$(@D
)/tools
$(PROTO_DIR
)/usr
/lib
/awstats
50 $(MKDIR
) $(PROTO_DIR
)/usr
/share
/doc
/awstats
51 $(CP
) -r
$(@D
)/docs
$(PROTO_DIR
)/usr
/share
/doc
/awstats
52 $(MKDIR
) $(PROTO_DIR
)/usr
/share
/awstats
53 $(CP
) -r
$(@D
)/wwwroot
/* $(PROTO_DIR
)/usr
/share
/awstats
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES
+= runtime
/perl