[27448] trunk/dports/net/argus-monitor/files/patch-Makefile.tplt

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 3 23:24:30 PDT 2007


Revision: 27448
          http://trac.macosforge.org/projects/macports/changeset/27448
Author:   markd at macports.org
Date:     2007-08-03 23:24:30 -0700 (Fri, 03 Aug 2007)

Log Message:
-----------
Hopefully the last Makefile hacking.

Modified Paths:
--------------
    trunk/dports/net/argus-monitor/files/patch-Makefile.tplt

Modified: trunk/dports/net/argus-monitor/files/patch-Makefile.tplt
===================================================================
--- trunk/dports/net/argus-monitor/files/patch-Makefile.tplt	2007-08-04 06:10:10 UTC (rev 27447)
+++ trunk/dports/net/argus-monitor/files/patch-Makefile.tplt	2007-08-04 06:24:30 UTC (rev 27448)
@@ -1,5 +1,5 @@
 --- Makefile.tplt.org	2007-06-01 16:30:47.000000000 -0700
-+++ Makefile.tplt	2007-08-03 22:10:20.000000000 -0700
++++ Makefile.tplt	2007-08-03 23:21:22.000000000 -0700
 @@ -127,32 +127,27 @@
  clean:
  	-rm $(CLEAN)
@@ -49,7 +49,7 @@
  
  # in case the format of the auth file has changed
  REMOVEAUTH=1
-@@ -164,16 +159,16 @@
+@@ -164,44 +159,39 @@
  # while a+rwx may be not be optimal security-wise,
  # it reduces the amount of support email the author receives
  $(INSTALL_DATA):
@@ -73,35 +73,41 @@
  	@echo ''
  	@echo '***' you will need to create/edit the files \'$(INSTALL_DATA)/config\' 
  	@echo '***      ' and \'$(INSTALL_DATA)/users\'
-@@ -182,26 +177,26 @@
+ 	@echo '***' be sure to check permissions on \'$(INSTALL_DATA)\' and its contents
+ 	@echo ''
  
- # if this is an upgrade, gdata might not exist even though data does
- $(INSTALL_DATA)/gdata: $(INSTALL_DATA)
+-# if this is an upgrade, gdata might not exist even though data does
+-$(INSTALL_DATA)/gdata: $(INSTALL_DATA)
 -	if test ! -d $(INSTALL_DATA)/gdata;  then mkdir $(INSTALL_DATA)/gdata;  \
 -		chmod a+rwx $(INSTALL_DATA)/gdata;  fi
 -	if test ! -d $(INSTALL_DATA)/gcache; then mkdir $(INSTALL_DATA)/gcache; \
 -		chmod a+rwx $(INSTALL_DATA)/gcache; fi
-+	if test ! -d $(INSTALL_DATA)/gdata;  then mkdir $(DESTDIR)$(INSTALL_DATA)/gdata;  \
-+		chmod a+rwx $(DESTDIR)$(INSTALL_DATA)/gdata;  fi
-+	if test ! -d $(INSTALL_DATA)/gcache; then mkdir $(DESTDIR)$(INSTALL_DATA)/gcache; \
-+		chmod a+rwx $(DESTDIR)$(INSTALL_DATA)/gcache; fi
- 
- $(INSTALL_DATA)/perl: $(INSTALL_DATA)
- 	if test ! -d $(INSTALL_DATA)/perl;  then \
+-
+-$(INSTALL_DATA)/perl: $(INSTALL_DATA)
+-	if test ! -d $(INSTALL_DATA)/perl;  then \
 -		mkdir $(INSTALL_DATA)/perl;  \
 -		chmod a+rwx $(INSTALL_DATA)/perl;  \
-+		mkdir $(DESTDIR)$(INSTALL_DATA)/perl;  \
-+		chmod a+rwx $(DESTDIR)$(INSTALL_DATA)/perl;  \
- 	fi
- 
- install-locale: $(INSTALL_DATA)
- 	if test ! -d $(INSTALL_DATA)/locale; then \
+-	fi
+-
+-install-locale: $(INSTALL_DATA)
+-	if test ! -d $(INSTALL_DATA)/locale; then \
 -		mkdir $(INSTALL_DATA)/locale; \
 -		chmod a+rx $(INSTALL_DATA)/locale;  \
-+		mkdir $(DESTDIR)$(INSTALL_DATA)/locale; \
-+		chmod a+rx $(DESTDIR)$(INSTALL_DATA)/locale;  \
- 	fi
+-	fi
 -	-cp locale/* $(INSTALL_DATA)/locale
++$(INSTALL_DATA)/gdata:
++	mkdir -p $(DESTDIR)$(INSTALL_DATA)/gdata;
++		chmod a+rwx $(DESTDIR)$(INSTALL_DATA)/gdata;
++	mkdir -p $(DESTDIR)$(INSTALL_DATA)/gcache;
++		chmod a+rwx $(DESTDIR)$(INSTALL_DATA)/gcache; 
++
++$(INSTALL_DATA)/perl:
++		mkdir $(DESTDIR)$(INSTALL_DATA)/perl;
++		chmod a+rwx $(DESTDIR)$(INSTALL_DATA)/perl;
++
++install-locale:
++		mkdir $(DESTDIR)$(INSTALL_DATA)/locale;
++		chmod a+rx $(DESTDIR)$(INSTALL_DATA)/locale;
 +	-cp locale/* $(DESTDIR)$(INSTALL_DATA)/locale
  
  install-conf:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070803/72ca794c/attachment.html


More information about the macports-changes mailing list