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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon May 30 03:32:33 CEST 2011


Revision: 14661
          http://gar.svn.sourceforge.net/gar/?rev=14661&view=rev
Author:   bdwalton
Date:     2011-05-30 01:32:33 +0000 (Mon, 30 May 2011)

Log Message:
-----------
exim/trunk: update paths in recipe to reflect filesystem normalization

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

Modified: csw/mgar/pkg/exim/trunk/Makefile
===================================================================
--- csw/mgar/pkg/exim/trunk/Makefile	2011-05-30 01:23:24 UTC (rev 14660)
+++ csw/mgar/pkg/exim/trunk/Makefile	2011-05-30 01:32:33 UTC (rev 14661)
@@ -87,7 +87,7 @@
 PROTOTYPE_USER_eximowned = exim
 PROTOTYPE_GROUP_eximowned = exim
 PROTOTYPE_PERMS_eximowned = 750
-PROTOTYPE_FILES_eximowned = $(prefix)/var/log/exim $(prefix)/var/spool/exim
+PROTOTYPE_FILES_eximowned = /var$(prefix)/log/exim /var$(prefix)/spool/exim
 
 include gar/category.mk
 
@@ -113,7 +113,7 @@
 	mv exim-$(VERSION)-1 exim; \
 	/usr/ccs/bin/strip $(BINS); \
 	/usr/ccs/bin/mcs -d $(BINS))
-	(cd $(DESTDIR)$(prefix)/etc/exim; \
+	(cd $(DESTDIR)/etc/$(prefix)/exim; \
 	for i in aliases exim.conf; do \
 		if [ -r "$$i" ]; then \
 			echo "$$i -> $$i.CSW"; \
@@ -123,9 +123,9 @@
 	(cd $(DESTDIR); mkdir -p etc/opt/csw/init.d; \
 		cp $(abspath $(FILEDIR)/cswexim) etc/opt/csw/init.d )
 	mkdir -p $(DESTDIR)$(prefix)/share/doc/exim
-	mkdir -p $(DESTDIR)$(prefix)/var/spool/exim
+	mkdir -p $(DESTDIR)/var/$(prefix)/spool/exim
 	cp -p files/README.CSW  $(DESTDIR)$(prefix)/share/doc/exim/README.CSW
-	cp -p files/exim-env.sh $(DESTDIR)$(prefix)/etc/exim/exim-env.sh.CSW
+	cp -p files/exim-env.sh $(DESTDIR)/etc/$(prefix)/exim/exim-env.sh.CSW
 	(cd $(WORKSRC)/doc; \
 	cp -p $(DOC_LIST) $(DESTDIR)$(prefix)/share/doc/exim)
 	gzip -f $(DESTDIR)$(prefix)/share/doc/exim/ChangeLog
@@ -135,5 +135,5 @@
 post-merge:
 	( cd $(PKGROOT); mkdir -p ./$(UGPATH); \
 		echo "$(UGENTRY)" > ./$(UGPATH)/cswusergroup )
-	( cd $(PKGROOT); mkdir -p opt/csw/var/log/exim )
+	( cd $(PKGROOT); mkdir -p var/opt/csw/log/exim )
 	@$(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