mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
don't move files in stage dir anymore
Submitted by: rodrigo (maintainer) Approved by: bapt (mentor)
This commit is contained in:
parent
5ea5e6fbea
commit
37cc8339fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362265
@ -104,11 +104,6 @@ post-patch:
|
||||
${WRKSRC}/bin/tSmoke
|
||||
|
||||
post-install:
|
||||
.for FILE in basepage.html config smokemail smokeping_secrets tmail
|
||||
${MV} ${STAGEDIR}/${ETCDIR}/${FILE}.dist ${STAGEDIR}/${ETCDIR}/${FILE}.sample
|
||||
.endfor
|
||||
${MV} ${STAGEDIR}/${PREFIX}/smokeping/htdocs/smokeping.fcgi.dist ${STAGEDIR}/${PREFIX}/smokeping/htdocs/smokeping.fcgi.sample
|
||||
|
||||
${MKDIR} ${STAGEDIR}/${PREFIX}/smokeping/htdocs/img
|
||||
${MKDIR} ${STAGEDIR}/${PREFIX}/var/smokeping
|
||||
|
||||
|
12
net-mgmt/smokeping/files/patch-etc_Makefile.in
Normal file
12
net-mgmt/smokeping/files/patch-etc_Makefile.in
Normal file
@ -0,0 +1,12 @@
|
||||
--- etc/Makefile.in 2013-03-04 13:07:55.000000000 +0000
|
||||
+++ etc/Makefile.in.changes 2014-07-19 10:38:59.338305503 +0000
|
||||
@@ -258,7 +258,8 @@
|
||||
@list='$(etc_DATA)'; test -n "$(etcdir)" || list=; \
|
||||
for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
- echo "$$d$$p"; \
|
||||
+ mv $$p $${p%%.dist}.sample; \
|
||||
+ echo "$$d$${p%%.dist}.sample"; \
|
||||
done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(etcdir)'"; \
|
@ -1,11 +1,15 @@
|
||||
--- htdocs/Makefile.in.orig 2013-03-04 14:07:55.000000000 +0100
|
||||
+++ htdocs/Makefile.in 2013-05-20 12:58:07.514020869 +0200
|
||||
@@ -433,7 +433,7 @@
|
||||
--- htdocs/Makefile.in.orig 2013-03-04 13:07:55.000000000 +0000
|
||||
+++ htdocs/Makefile.in 2014-07-19 10:42:00.470292529 +0000
|
||||
@@ -432,9 +432,9 @@
|
||||
|
||||
install-data-local:
|
||||
$(MKDIR) -p $(DESTDIR)$(HTDOCSDIR)
|
||||
$(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
|
||||
- $(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
|
||||
- $(ECHO) "exec $(prefix)/bin/smokeping_cgi $(prefix)/etc/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
|
||||
+ $(ECHO) "exec $(prefix)/bin/smokeping_cgi $(sysconfdir)/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
|
||||
chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
|
||||
- chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
|
||||
+ $(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.sample
|
||||
+ $(ECHO) "exec $(prefix)/bin/smokeping_cgi $(sysconfdir)/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.sample
|
||||
+ chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.sample
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
Loading…
Reference in New Issue
Block a user