Update hexchat to 2.12.0
[unleashed-userland.git] / components / awstats / Makefile
blob5693d6215a7c7faad3d8706b7dd5b2f1e52bf5bc
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 2014 Alexander Pyhalov. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= awstats
19 COMPONENT_VERSION= 7.3
20 COMPONENT_SUMMARY= AWStats - Log File Analyzer for Advanced Statistics
21 COMPONENT_FMRI= web/analytics/awstats
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:642da01c4482c99f68076c02b9a6e0c6de803303597be4ee4d0c8fce69bd1ad4
26 COMPONENT_ARCHIVE_URL= \
27 http://downloads.sourceforge.net/awstats/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://awstats.sourceforge.net/
30 include ../../make-rules/prep.mk
31 include ../../make-rules/ips.mk
33 CLEAN_PATHS += $(BUILD_DIR) $(PROTO_DIR)
35 $(BUILD_32): $(SOURCE_DIR)/.prep
36 $(MKDIR) $(BUILD_DIR_32)
37 cp -a $(SOURCE_DIR)/* $(BUILD_DIR_32)
38 $(TOUCH) $(@)
40 $(INSTALL_32): $(BUILD_32)
41 $(RM) -r $(PROTO_DIR)
42 $(MKDIR) $(PROTO_DIR)/usr/lib/awstats
43 mv $(BUILD_DIR_32)/README.TXT $(BUILD_DIR_32)/tools $(PROTO_DIR)/usr/lib/awstats
44 $(MKDIR) $(PROTO_DIR)/usr/share/doc/awstats
45 mv $(BUILD_DIR_32)/docs $(PROTO_DIR)/usr/share/doc/awstats
46 $(MKDIR) $(PROTO_DIR)/usr/share/awstats
47 mv $(BUILD_DIR_32)/wwwroot/* $(PROTO_DIR)/usr/share/awstats
48 $(TOUCH) $(@)
51 build: $(BUILD_32)
53 install: $(INSTALL_32)