ports/net-mgmt/netdot/files/patch-htdocs_Makefile
Mathieu Arnold ed8cbbff3e Fix build as a user.
Bump PORTREVISION because I think the package changed a bit.

Sponsored by:	Absolight
2015-12-18 16:47:05 +00:00

21 lines
803 B
Text

--- htdocs/Makefile.orig 2014-12-14 15:02:04.000000000 +0000
+++ htdocs/Makefile 2014-12-14 15:02:12.000000000 +0000
@@ -9,7 +9,7 @@
all: wipedir dir
$(substitute)
- ln -s $(STAGEDIR)/doc/manual/netdot-manual.htm $(STAGEDIR)/$(DIR)/help/manual.html
+ ln -s $(PREFIX)/doc/manual/netdot-manual.htm $(STAGEDIR)/$(DIR)/help/manual.html
# Wipe out dir before installing
wipedir:
@@ -21,9 +21,3 @@ dir:
@echo "Hacking together mason permissions fix..."
touch $(STAGEDIR)/$(DIR)/masondata/obj/.__obj_create_marker
- chown -R $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/$(DIR)/masondata
- chmod 0755 $(STAGEDIR)/$(DIR)/masondata
-# Graphs can be updated dynamically so apache needs +w
- chown $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/$(DIR)/img/graphs
- chmod 0750 $(STAGEDIR)/$(DIR)/img/graphs
-