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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jun 28 09:49:53 CEST 2012


Revision: 18575
          http://gar.svn.sourceforge.net/gar/?rev=18575&view=rev
Author:   dmichelsen
Date:     2012-06-28 07:49:52 +0000 (Thu, 28 Jun 2012)
Log Message:
-----------
lighttpd/trunk: Move finalizer to post-merge

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:41:00 UTC (rev 18574)
+++ csw/mgar/pkg/lighttpd/trunk/Makefile	2012-06-28 07:49:52 UTC (rev 18575)
@@ -136,20 +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
-	ginstall -d -m 755 $(DESTDIR)$(sysconfdir)/pkg/$(NAME)
+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::::" \
-		> $(DESTDIR)$(sysconfdir)/pkg/$(NAME)/cswusergroup
-	(cd $(DESTDIR)$(libdir_install); ln -s . 32)
-	(cd $(DESTDIR)$(libdir_install); ln -s $(ISA_DEFAULT64) 64)
+		> $(PKGROOT)$(sysconfdir)/pkg/$(NAME)/cswusergroup
+	(cd $(PKGROOT)$(libdir_install); ln -s . 32)
+	(cd $(PKGROOT)$(libdir_install); ln -s $(ISA_DEFAULT64) 64)
 	@$(MAKECOOKIE)

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