2a62d7170b
- Remove FORBIDDEN; up to date - Add appropriate conflicts PR: ports/159736 Submitted by: Thomas Goirand <thomas@goirand.fr> (maintainer)
39 lines
1.5 KiB
Text
39 lines
1.5 KiB
Text
$FreeBSD$
|
|
|
|
--- Makefile.orig 2011-09-16 22:20:05.000000000 +0100
|
|
+++ Makefile 2011-09-16 22:24:24.000000000 +0100
|
|
@@ -52,13 +52,13 @@
|
|
UNIX_TYPE?=debian
|
|
|
|
# /usr/share
|
|
-APP_INST_DIR = $(DESTDIR)$(DTC_APP_DIR)/dtc
|
|
+APP_INST_DIR = $(DESTDIR)$(DTC_APP_DIR)
|
|
# /var/lib
|
|
-GENFILES_DIRECTORY = $(DESTDIR)$(DTC_GEN_DIR)/dtc
|
|
+GENFILES_DIRECTORY = $(DESTDIR)$(DTC_GEN_DIR)
|
|
# /etc
|
|
-DTC_ETC_DIRECTORY = $(DESTDIR)$(CONFIG_DIR)/dtc
|
|
+DTC_ETC_DIRECTORY = $(DESTDIR)$(CONFIG_DIR)
|
|
# /usr/share/doc
|
|
-DOC_DIR = $(DESTDIR)$(DTC_DOC_DIR)/dtc
|
|
+DOC_DIR = $(DESTDIR)$(DTC_DOC_DIR)
|
|
# /usr/share/man
|
|
MAN_DIR = $(DESTDIR)$(MANUAL_DIR)
|
|
# /usr/bin
|
|
@@ -379,7 +379,7 @@
|
|
# PHP scripts files served by web server
|
|
@echo "-> Creating destination folders for version "${VERS}
|
|
@for i in $(CREATE_DIRS) ; do $(INSTALL_DIR) -m $(NORMAL_FOLDER) $(APP_INST_DIR)/$$i ; done
|
|
- $(INSTALL_DIR) -m $(NORMAL_FOLDER) $(MAN_DIR)/man8
|
|
+ $(INSTALL_DIR) $(MAN_DIR)/man8
|
|
|
|
@ echo "-> Installing scripts"
|
|
@for i in $(WEB_SCRIPT_FILES) ; do $(INSTALL) -m $(PHP_RIGHTS) $$i $(APP_INST_DIR)/$$i ; done
|
|
@@ -404,6 +404,7 @@
|
|
|
|
# Copy all the graphics...
|
|
@$(INSTALL) -m $(PHP_RIGHTS) shared/404_template/logo.png $(APP_INST_DIR)/shared/404_template/logo.png
|
|
+ find shared/gfx -type d -exec install -d -m 0755 {} ${APP_INST_DIR}/{} \;
|
|
find shared/gfx -iname '*.png' -exec $(INSTALL) -m $(PHP_RIGHTS) {} $(APP_INST_DIR)/{} \;
|
|
find shared/gfx -iname '*.gif' -exec $(INSTALL) -m $(PHP_RIGHTS) {} $(APP_INST_DIR)/{} \;
|
|
find shared/gfx -iname '*.js' -exec $(INSTALL) -m $(PHP_RIGHTS) {} $(APP_INST_DIR)/{} \;
|