Skip to content

Commit

Permalink
this port was really broken
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3927 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage committed Nov 11, 2003
1 parent 97b3971 commit 286ff1e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mail/exim/Portfile
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.18 2003/11/11 14:06:04 fkr Exp $
# $Id: Portfile,v 1.19 2003/11/11 21:52:19 fkr Exp $

PortSystem 1.0
name exim
Expand All @@ -21,6 +21,7 @@ depends_build bin:perl:perl5.8
depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup

set exim_user exim
patch.pre_args -p1

configure { cd ${worksrcpath}
system "cp src/EDITME Local/Makefile"
Expand All @@ -42,6 +43,7 @@ post-destroot { system "mv ${destroot}${prefix}/etc/exim/exim.conf ${destroot}${
system "install -o root -m 755 -d ${destroot}${prefix}/etc/rc.d"
system "install -o root -m 755 -c \
${portpath}/files/exim.sh ${destroot}${prefix}/etc/rc.d"
system "touch '${destroot}${prefix}/var/spool/exim/.turd'"
reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/etc/rc.d/exim.sh }

platform darwin 7 { patchfiles-append patch-EDITME \
Expand All @@ -52,8 +54,7 @@ variant tls { }

variant exiscan { patch_sites http://duncanthrax.net/exiscan-acl/
patchfiles-append exiscan-acl-4.24-13.patch
checksums-append exiscan-acl-4.24-13.patch md5 c8eb375adc7a7233d754eec20f07997f
patch.pre_args -p1 }
checksums-append exiscan-acl-4.24-13.patch md5 c8eb375adc7a7233d754eec20f07997f }

variant mysql { depends_lib-append lib:libmysqlclient:mysql }

Expand All @@ -71,7 +72,7 @@ post-configure {
reinplace "s|# SUPPORT_MAILDIR=yes|SUPPORT_MAILDIR=yes|g" Local/Makefile
}

if {[variant_isset smtp_auth ]} {
if {[variant_isset smtp-auth ]} {
reinplace "s|# AUTH_CRAM_MD5=yes|AUTH_CRAM_MD5=yes|g" Local/Makefile
reinplace "s|# AUTH_PLAINTEXT=yes|AUTH_PLAINTEXT=yes|g" Local/Makefile
reinplace "s|# AUTH_SPA=yes|AUTH_SPA=yes|g" Local/Makefile
Expand Down

0 comments on commit 286ff1e

Please sign in to comment.