[79531] branches/gsoc11-statistics/base/Makefile.in

derek at macports.org derek at macports.org
Thu Jun 16 10:00:47 PDT 2011


Revision: 79531
          http://trac.macports.org/changeset/79531
Author:   derek at macports.org
Date:     2011-06-16 10:00:47 -0700 (Thu, 16 Jun 2011)
Log Message:
-----------
Modified Makefile.in to 

- Install submitstats.sh to $(DESTDIR)${datadir}/macports/
- Run install_launchd.sh to generate and load a launchd plist that calls submitstats.sh once a week

Modified Paths:
--------------
    branches/gsoc11-statistics/base/Makefile.in

Modified: branches/gsoc11-statistics/base/Makefile.in
===================================================================
--- branches/gsoc11-statistics/base/Makefile.in	2011-06-16 16:59:36 UTC (rev 79530)
+++ branches/gsoc11-statistics/base/Makefile.in	2011-06-16 17:00:47 UTC (rev 79531)
@@ -35,6 +35,9 @@
 	[ ! -f $(DESTDIR)${sysconfdir}/macports/mp_version ] || rm -vf $(DESTDIR)${sysconfdir}/macports/mp_version
 	$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 setupenv.bash  $(DESTDIR)${datadir}/macports/
 	$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 macports-pubkey.pem  $(DESTDIR)${datadir}/macports/
+	$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 544 submitstats.sh $(DESTDIR)${datadir}/macports/
+	# Install launchd script that runs submistats.sh
+	./install_launchd.sh $(DESTDIR)${datadir}/macports/submitstats.sh $(DESTDIR)${sysconfdir}/macports/macports.conf
 # Only run these scripts when not building in a destroot
 ifeq ($(DESTDIR),)
 # Add [default] tag to the central MacPorts repository, if it isn't already
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110616/42bbffe3/attachment.html>


More information about the macports-changes mailing list