mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
39 lines
1.9 KiB
Plaintext
39 lines
1.9 KiB
Plaintext
--- ./graph/src/Makefile.orig 2014-07-19 13:30:29.000000000 +0200
|
|
+++ ./graph/src/Makefile 2014-07-19 13:32:27.000000000 +0200
|
|
@@ -33,21 +33,21 @@
|
|
$(RM) stats.pl config.ini graph-summary.cgi
|
|
|
|
install_templates:
|
|
- $(INSTALL_DIR) -m 0755 $(TEMPLATEDIR)
|
|
+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(TEMPLATEDIR)
|
|
@for dep in $(TEMPLATES); do \
|
|
- echo $(INSTALL) -m 0644 templates/$$dep $(TEMPLATEDIR)/$$dep; \
|
|
- $(INSTALL) -m 0644 templates/$$dep $(TEMPLATEDIR)/$$dep; \
|
|
+ echo $(INSTALL) -m 0644 templates/$$dep $(DESTDIR)$(TEMPLATEDIR)/$$dep; \
|
|
+ $(INSTALL) -m 0644 templates/$$dep $(DESTDIR)$(TEMPLATEDIR)/$$dep; \
|
|
done
|
|
|
|
install: all install_templates
|
|
- $(INSTALL_DIR) -m 0755 -o $(WEB_USER) $(GRAPH_DATADIR)
|
|
- $(INSTALL_DIR) -m 0755 -o $(STATS_USER) $(RRD_DATADIR)
|
|
- $(INSTALL_DIR) -m 0755 $(WEB_DATADIR)
|
|
- $(INSTALL_DIR) -m 0755 $(CGIDIR)
|
|
- $(INSTALL_DIR) -m 0755 $(ETCDIR)
|
|
- $(INSTALL) -m 0755 stats.pl $(BINDIR)/squidstats.pl
|
|
- $(INSTALL) -m 0755 graph-summary.cgi $(CGIDIR)/graph-summary.cgi
|
|
- $(INSTALL) -m 0644 config.ini $(ETCDIR)/config.ini
|
|
- $(INSTALL) -m 0644 templates.conf $(ETCDIR)/templates.conf
|
|
- $(INSTALL) -m 0644 snmp_monitor.cfg $(ETCDIR)/snmp_monitor.cfg
|
|
- $(INSTALL) -m 0644 graph.css $(WEB_DATADIR)/graph.css
|
|
+ $(INSTALL_DIR) -m 0755 -o $(WEB_USER) $(DESTDIR)$(GRAPH_DATADIR)
|
|
+ $(INSTALL_DIR) -m 0755 -o $(STATS_USER) $(DESTDIR)$(RRD_DATADIR)
|
|
+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(WEB_DATADIR)
|
|
+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(CGIDIR)
|
|
+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(ETCDIR)
|
|
+ $(INSTALL) -m 0755 stats.pl $(DESTDIR)$(BINDIR)/squidstats.pl
|
|
+ $(INSTALL) -m 0755 graph-summary.cgi $(DESTDIR)$(CGIDIR)/graph-summary.cgi
|
|
+ $(INSTALL) -m 0644 config.ini $(DESTDIR)$(ETCDIR)/config.ini
|
|
+ $(INSTALL) -m 0644 templates.conf $(DESTDIR)$(ETCDIR)/templates.conf
|
|
+ $(INSTALL) -m 0644 snmp_monitor.cfg $(DESTDIR)$(ETCDIR)/snmp_monitor.cfg
|
|
+ $(INSTALL) -m 0644 graph.css $(DESTDIR)$(WEB_DATADIR)/graph.css
|