mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
097eaad706
- Changelog at http://www.ocsigen.org/install/ocsigen PR: ports/130508 Submitted by: Jaap Boender <jaapb@kerguelen.org> (maintainer)
41 lines
1.9 KiB
Plaintext
41 lines
1.9 KiB
Plaintext
--- Makefile.orig 2008-07-01 13:50:21.000000000 +0200
|
|
+++ Makefile 2008-07-08 11:25:25.000000000 +0200
|
|
@@ -284,7 +284,6 @@
|
|
|
|
installnodoc: partialinstall
|
|
mkdir -p $(TEMPROOT)$(CONFIGDIR)
|
|
- mkdir -p $(TEMPROOT)$(CONFIGDIR)/conf.d
|
|
mkdir -p $(TEMPROOT)$(STATICPAGESDIR)
|
|
mkdir -p $(TEMPROOT)$(STATICPAGESDIR)/miniwiki
|
|
mkdir -p $(TEMPROOT)$(STATICPAGESDIR)/tutorial
|
|
@@ -295,7 +294,6 @@
|
|
[ -p $(TEMPROOT)$(COMMANDPIPE) ] || { mkfifo $(TEMPROOT)$(COMMANDPIPE); \
|
|
chmod 660 $(TEMPROOT)$(COMMANDPIPE); \
|
|
$(CHOWN) -R $(OCSIGENUSER):$(OCSIGENGROUP) $(TEMPROOT)$(COMMANDPIPE);}
|
|
-# -mv $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf.old
|
|
cat files/ocsigen.conf.in \
|
|
| sed s%_LOGDIR_%$(LOGDIR)%g \
|
|
| sed s%_STATICPAGESDIR_%$(STATICPAGESDIR)%g \
|
|
@@ -318,21 +316,10 @@
|
|
| sed s%[.]cmo%.cmxs%g \
|
|
| sed s%[.]cma%.cmxs%g \
|
|
> $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf.opt.sample
|
|
- -mv $(TEMPROOT)$(CONFIGDIR)/mime.types $(TEMPROOT)$(CONFIGDIR)/mime.types.old
|
|
cp -f files/mime.types $(TEMPROOT)$(CONFIGDIR)
|
|
mkdir -p $(TEMPROOT)$(LOGDIR)
|
|
chmod u+rwx $(TEMPROOT)$(LOGDIR)
|
|
- chmod a+rx $(TEMPROOT)$(CONFIGDIR)
|
|
- chmod a+rx $(TEMPROOT)$(CONFIGDIR)/conf.d
|
|
- [ -f $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf ] || \
|
|
- { cp $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf.sample \
|
|
- $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf; \
|
|
- chmod a+r $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf; }
|
|
chmod a+r $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf.sample
|
|
- [ -f $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf ] || \
|
|
- { cp $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf.opt.sample \
|
|
- $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf.opt; \
|
|
- chmod a+r $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf.opt; }
|
|
chmod a+r $(TEMPROOT)$(CONFIGDIR)/$(OCSIGENNAME).conf.opt.sample
|
|
chmod a+r $(TEMPROOT)$(CONFIGDIR)/mime.types
|
|
$(INSTALL) -m 644 files/tutorial/style.css $(TEMPROOT)$(STATICPAGESDIR)/tutorial
|