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

jake_goerzen at users.sourceforge.net jake_goerzen at users.sourceforge.net
Tue Dec 14 04:04:39 CET 2010


Revision: 11923
          http://gar.svn.sourceforge.net/gar/?rev=11923&view=rev
Author:   jake_goerzen
Date:     2010-12-14 03:04:39 +0000 (Tue, 14 Dec 2010)

Log Message:
-----------
search & replace /usr/local with /opt/csw in .conf .txt files

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

Modified: csw/mgar/pkg/dovecot/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dovecot/trunk/Makefile	2010-12-14 02:57:41 UTC (rev 11922)
+++ csw/mgar/pkg/dovecot/trunk/Makefile	2010-12-14 03:04:39 UTC (rev 11923)
@@ -102,8 +102,12 @@
 		s| /var/run| /var/opt/csw/run|; \
 		s| /etc/ssl| /opt/csw/ssl|; \
 		s| /usr/libexec| /opt/csw/libexec|; \
-		s| /usr/lib/dovecot| /opt/csw/lib/dovecot|;' \
-		$(WORKSRC)/dovecot-example.conf
+		s| /usr/lib/dovecot| /opt/csw/lib/dovecot|; \
+		s| /usr/local| /opt/csw/|;' \
+		$(WORKSRC)/*-example.conf
+# replace bad paths with /opt/csw in doc/wiki/*.txt
+	perl -pi -e 's|/usr/share|/opt/csw/share|' $(WORKSRC)/doc/wiki/*.txt
+	perl -pi -e 's|/usr/local|/opt/csw|' $(WORKSRC)/doc/wiki/*.txt
 	@$(MAKECOOKIE)
 
 post-install-modulated: DOCDEST = $(DESTDIR)$(docdir)/$(NAME)


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