[csw-devel] SF.net SVN: gar:[18576] csw/mgar/pkg/lighttpd/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jun 28 09:56:31 CEST 2012


Revision: 18576
          http://gar.svn.sourceforge.net/gar/?rev=18576&view=rev
Author:   dmichelsen
Date:     2012-06-28 07:56:31 +0000 (Thu, 28 Jun 2012)
Log Message:
-----------
lighttpd/trunk: Do modulation-specific things in post-install

Modified Paths:
--------------
    csw/mgar/pkg/lighttpd/trunk/Makefile

Modified: csw/mgar/pkg/lighttpd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lighttpd/trunk/Makefile	2012-06-28 07:49:52 UTC (rev 18575)
+++ csw/mgar/pkg/lighttpd/trunk/Makefile	2012-06-28 07:56:31 UTC (rev 18576)
@@ -136,17 +136,20 @@
 
 include gar/category.mk
 
+post-install-modulated:
+	ginstall -d -m 755 $(DESTDIR)$(sysconfdir)/init.d
+	ginstall -m 755 $(DOWNLOADDIR)/cswlighttpd $(DESTDIR)$(sysconfdir)/init.d
+	# ginstall -m 644 $(WORKSRC)/doc/config/lighttpd.conf $(DESTDIR)$(sysconfdir)
+	# gsed -i -e 's+/usr/local+/opt/csw+g' $(DESTDIR)$(sysconfdir)/lighttpd.conf
+	ginstall -m 644 $(FILEDIR)/lighttpd.conf $(DESTDIR)$(sysconfdir)
+	gsed -i -e 's+/usr/local+/opt/csw+g' $(DESTDIR)$(sysconfdir)/lighttpd.conf
+	ginstall -d -m 755 $(DESTDIR)$(localstatedir)/run
+	ginstall -d -m 755 $(DESTDIR)$(datadir)/lighttpd-root
+	echo 'lighttpd is working!' > $(DESTDIR)$(datadir)/lighttpd-root/index.html
+	ginstall -d -m 755 $(DESTDIR)$(localstatedir)/log/lighttpd
+	@$(MAKECOOKIE)
+
 post-merge:
-	ginstall -d -m 755 $(PKGROOT)$(sysconfdir)/init.d
-	ginstall -m 755 $(DOWNLOADDIR)/cswlighttpd $(PKGROOT)$(sysconfdir)/init.d
-	# ginstall -m 644 $(WORKSRC)/doc/config/lighttpd.conf $(PKGROOT)$(sysconfdir)
-	# gsed -i -e 's+/usr/local+/opt/csw+g' $(PKGROOT)$(sysconfdir)/lighttpd.conf
-	ginstall -m 644 $(FILEDIR)/lighttpd.conf $(PKGROOT)$(sysconfdir)
-	gsed -i -e 's+/usr/local+/opt/csw+g' $(PKGROOT)$(sysconfdir)/lighttpd.conf
-	ginstall -d -m 755 $(PKGROOT)$(localstatedir)/run
-	ginstall -d -m 755 $(PKGROOT)$(datadir)/lighttpd-root
-	echo 'lighttpd is working!' > $(PKGROOT)$(datadir)/lighttpd-root/index.html
-	ginstall -d -m 755 $(PKGROOT)$(localstatedir)/log/lighttpd
 	ginstall -d -m 755 $(PKGROOT)$(sysconfdir)/pkg/$(NAME)
 	echo "lighttpd:lighttpd:lighttpd web server::::" \
 		> $(PKGROOT)$(sysconfdir)/pkg/$(NAME)/cswusergroup

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list