[40553] trunk/dports/mail/exim/Portfile
jmr at macports.org
jmr at macports.org
Mon Oct 6 13:57:27 PDT 2008
Revision: 40553
http://trac.macports.org/changeset/40553
Author: jmr at macports.org
Date: 2008-10-06 13:57:26 -0700 (Mon, 06 Oct 2008)
Log Message:
-----------
exim: remove use of cd
Modified Paths:
--------------
trunk/dports/mail/exim/Portfile
Modified: trunk/dports/mail/exim/Portfile
===================================================================
--- trunk/dports/mail/exim/Portfile 2008-10-06 20:53:18 UTC (rev 40552)
+++ trunk/dports/mail/exim/Portfile 2008-10-06 20:57:26 UTC (rev 40553)
@@ -31,23 +31,23 @@
set exim_user exim
patch.pre_args -p1
-configure { cd ${worksrcpath}
- system "cp src/EDITME Local/Makefile"
- reinplace "s|/usr/exim/bin|${prefix}/sbin|g" Local/Makefile
- reinplace "s|/usr/exim/configure|${prefix}/etc/exim/exim.conf|g" Local/Makefile
- reinplace "s|EXIM_USER=|EXIM_USER=${exim_user}|g" Local/Makefile
- reinplace "s|/var/spool/exim|${prefix}/var/spool/exim|g" Local/Makefile
- reinplace "s|EXIM_MONITOR=eximon.bin|#EXIM_MONITOR=eximon.bin|g" Local/Makefile
- reinplace "s|# WITH_CONTENT_SCAN=yes|WITH_CONTENT_SCAN=yes|g" Local/Makefile
- reinplace "s|# LOOKUP_PASSWD=yes|LOOKUP_PASSWD=yes|g" Local/Makefile
- reinplace "s|# LOOKUP_CDB=yes|LOOKUP_CDB=yes|g" Local/Makefile
- reinplace "s|# LOOKUP_DSEARCH=yes|LOOKUP_DSEARCH=yes|g" Local/Makefile
- reinplace "s|# SUPPORT_MAILDIR=yes|SUPPORT_MAILDIR=yes|g" Local/Makefile
- reinplace "s|# TLS_LIBS=-L/usr/local/openssl/lib|TLS_LIBS=-L${prefix}/lib|g" Local/Makefile
- reinplace "s|# TLS_INCLUDE=-I/usr/local/openssl/include|TLS_INCLUDE=-I${prefix}/include/openssl|g" Local/Makefile
- reinplace "s|# Exim: OS-specific make file for Darwin (Mac OS X).|INCLUDE=-I${prefix}/include/db44|g" OS/Makefile-Darwin
- reinplace "s|DBMLIB =|DBMLIB=${prefix}/lib/db44/libdb-4.dylib|g" OS/Makefile-Darwin
- reinplace "s|/etc/aliases|${destroot}${prefix}/etc/aliases|g" scripts/exim_install
+configure {
+ copy ${worksrcpath}/src/EDITME ${worksrcpath}/Local/Makefile
+ reinplace "s|/usr/exim/bin|${prefix}/sbin|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|/usr/exim/configure|${prefix}/etc/exim/exim.conf|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|EXIM_USER=|EXIM_USER=${exim_user}|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|/var/spool/exim|${prefix}/var/spool/exim|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|EXIM_MONITOR=eximon.bin|#EXIM_MONITOR=eximon.bin|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|# WITH_CONTENT_SCAN=yes|WITH_CONTENT_SCAN=yes|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|# LOOKUP_PASSWD=yes|LOOKUP_PASSWD=yes|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|# LOOKUP_CDB=yes|LOOKUP_CDB=yes|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|# LOOKUP_DSEARCH=yes|LOOKUP_DSEARCH=yes|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|# SUPPORT_MAILDIR=yes|SUPPORT_MAILDIR=yes|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|# TLS_LIBS=-L/usr/local/openssl/lib|TLS_LIBS=-L${prefix}/lib|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|# TLS_INCLUDE=-I/usr/local/openssl/include|TLS_INCLUDE=-I${prefix}/include/openssl|g" ${worksrcpath}/Local/Makefile
+ reinplace "s|# Exim: OS-specific make file for Darwin (Mac OS X).|INCLUDE=-I${prefix}/include/db44|g" ${worksrcpath}/OS/Makefile-Darwin
+ reinplace "s|DBMLIB =|DBMLIB=${prefix}/lib/db44/libdb-4.dylib|g" ${worksrcpath}/OS/Makefile-Darwin
+ reinplace "s|/etc/aliases|${destroot}${prefix}/etc/aliases|g" ${worksrcpath}/scripts/exim_install
adduser ${exim_user} gid=[existsgroup mail] }
destroot.destdir ROOT=${destroot}
@@ -55,8 +55,7 @@
post-destroot { system "mv ${destroot}${prefix}/etc/exim/exim.conf ${destroot}${prefix}/etc/exim/exim.conf.sample"
xinstall -o root -m 755 -d ${destroot}${prefix}/share/exim
- cd ${worksrcpath}
- system "cp -R doc/ ${destroot}${prefix}/share/exim"
+ system "cp -R ${worksrcpath}/doc/ ${destroot}${prefix}/share/exim"
xinstall -o ${exim_user} -g mail -m 750 -d ${destroot}${prefix}/var/spool/exim
xinstall -o root -m 755 -d ${destroot}${prefix}/etc/rc.d
xinstall -o root -m 755 -c \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081006/1b24c951/attachment.html
More information about the macports-changes
mailing list