Changeset 40553 for trunk/dports
- Timestamp:
- Oct 6, 2008, 8:57:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/mail/exim/Portfile
r30236 r40553 32 32 patch.pre_args -p1 33 33 34 configure { cd ${worksrcpath}35 system "cp src/EDITME Local/Makefile"36 reinplace "s|/usr/exim/bin|${prefix}/sbin|g" Local/Makefile37 reinplace "s|/usr/exim/configure|${prefix}/etc/exim/exim.conf|g" Local/Makefile38 reinplace "s|EXIM_USER=|EXIM_USER=${exim_user}|g" Local/Makefile39 reinplace "s|/var/spool/exim|${prefix}/var/spool/exim|g" Local/Makefile40 reinplace "s|EXIM_MONITOR=eximon.bin|#EXIM_MONITOR=eximon.bin|g" Local/Makefile41 reinplace "s|# WITH_CONTENT_SCAN=yes|WITH_CONTENT_SCAN=yes|g" Local/Makefile42 reinplace "s|# LOOKUP_PASSWD=yes|LOOKUP_PASSWD=yes|g" Local/Makefile43 reinplace "s|# LOOKUP_CDB=yes|LOOKUP_CDB=yes|g" Local/Makefile44 reinplace "s|# LOOKUP_DSEARCH=yes|LOOKUP_DSEARCH=yes|g" Local/Makefile45 reinplace "s|# SUPPORT_MAILDIR=yes|SUPPORT_MAILDIR=yes|g" Local/Makefile46 reinplace "s|# TLS_LIBS=-L/usr/local/openssl/lib|TLS_LIBS=-L${prefix}/lib|g" Local/Makefile47 reinplace "s|# TLS_INCLUDE=-I/usr/local/openssl/include|TLS_INCLUDE=-I${prefix}/include/openssl|g" Local/Makefile48 reinplace "s|# Exim: OS-specific make file for Darwin (Mac OS X).|INCLUDE=-I${prefix}/include/db44|g" OS/Makefile-Darwin49 reinplace "s|DBMLIB =|DBMLIB=${prefix}/lib/db44/libdb-4.dylib|g" OS/Makefile-Darwin50 reinplace "s|/etc/aliases|${destroot}${prefix}/etc/aliases|g" scripts/exim_install34 configure { 35 copy ${worksrcpath}/src/EDITME ${worksrcpath}/Local/Makefile 36 reinplace "s|/usr/exim/bin|${prefix}/sbin|g" ${worksrcpath}/Local/Makefile 37 reinplace "s|/usr/exim/configure|${prefix}/etc/exim/exim.conf|g" ${worksrcpath}/Local/Makefile 38 reinplace "s|EXIM_USER=|EXIM_USER=${exim_user}|g" ${worksrcpath}/Local/Makefile 39 reinplace "s|/var/spool/exim|${prefix}/var/spool/exim|g" ${worksrcpath}/Local/Makefile 40 reinplace "s|EXIM_MONITOR=eximon.bin|#EXIM_MONITOR=eximon.bin|g" ${worksrcpath}/Local/Makefile 41 reinplace "s|# WITH_CONTENT_SCAN=yes|WITH_CONTENT_SCAN=yes|g" ${worksrcpath}/Local/Makefile 42 reinplace "s|# LOOKUP_PASSWD=yes|LOOKUP_PASSWD=yes|g" ${worksrcpath}/Local/Makefile 43 reinplace "s|# LOOKUP_CDB=yes|LOOKUP_CDB=yes|g" ${worksrcpath}/Local/Makefile 44 reinplace "s|# LOOKUP_DSEARCH=yes|LOOKUP_DSEARCH=yes|g" ${worksrcpath}/Local/Makefile 45 reinplace "s|# SUPPORT_MAILDIR=yes|SUPPORT_MAILDIR=yes|g" ${worksrcpath}/Local/Makefile 46 reinplace "s|# TLS_LIBS=-L/usr/local/openssl/lib|TLS_LIBS=-L${prefix}/lib|g" ${worksrcpath}/Local/Makefile 47 reinplace "s|# TLS_INCLUDE=-I/usr/local/openssl/include|TLS_INCLUDE=-I${prefix}/include/openssl|g" ${worksrcpath}/Local/Makefile 48 reinplace "s|# Exim: OS-specific make file for Darwin (Mac OS X).|INCLUDE=-I${prefix}/include/db44|g" ${worksrcpath}/OS/Makefile-Darwin 49 reinplace "s|DBMLIB =|DBMLIB=${prefix}/lib/db44/libdb-4.dylib|g" ${worksrcpath}/OS/Makefile-Darwin 50 reinplace "s|/etc/aliases|${destroot}${prefix}/etc/aliases|g" ${worksrcpath}/scripts/exim_install 51 51 adduser ${exim_user} gid=[existsgroup mail] } 52 52 … … 56 56 post-destroot { system "mv ${destroot}${prefix}/etc/exim/exim.conf ${destroot}${prefix}/etc/exim/exim.conf.sample" 57 57 xinstall -o root -m 755 -d ${destroot}${prefix}/share/exim 58 cd ${worksrcpath} 59 system "cp -R doc/ ${destroot}${prefix}/share/exim" 58 system "cp -R ${worksrcpath}/doc/ ${destroot}${prefix}/share/exim" 60 59 xinstall -o ${exim_user} -g mail -m 750 -d ${destroot}${prefix}/var/spool/exim 61 60 xinstall -o root -m 755 -d ${destroot}${prefix}/etc/rc.d
Note: See TracChangeset
for help on using the changeset viewer.