[30024] trunk/dports/mail/postfix/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Thu Oct 18 10:13:00 PDT 2007
Revision: 30024
http://trac.macosforge.org/projects/macports/changeset/30024
Author: markd at macports.org
Date: 2007-10-18 10:12:59 -0700 (Thu, 18 Oct 2007)
Log Message:
-----------
Remove bad mirrors and unnecessary 'cd' commands; organize patching operations under post-patch.
Modified Paths:
--------------
trunk/dports/mail/postfix/Portfile
Modified: trunk/dports/mail/postfix/Portfile
===================================================================
--- trunk/dports/mail/postfix/Portfile 2007-10-18 16:34:12 UTC (rev 30023)
+++ trunk/dports/mail/postfix/Portfile 2007-10-18 17:12:59 UTC (rev 30024)
@@ -15,12 +15,9 @@
homepage http://www.postfix.org/
platforms darwin
checksums sha1 dc3616ffd441c23748273527b6693835f3502ad2
-master_sites http://postfix.problemlos.ch/release/official/ \
- http://www.swissrave.ch/mirror/postfix-source/official/ \
- ftp://ftp.matrix.com.br/pub/postfix/official/ \
- ftp://ftp.its.cz/MIRRORS/ftp.porcupine.org/mirrors/postfix-release/official/\
- ftp://ftp.club-internet.fr/pub/mirrors/ftp.porcupine.org/postfix-release/official/\
- ftp://ftp.doc.cs.univ-paris8.fr/mirrors/ftp.porcupine.org/postfix-release/official/
+master_sites http://www.swissrave.ch/mirror/postfix-source/official/ \
+ ftp://ftp.its.cz/MIRRORS/ftp.porcupine.org/mirrors/postfix-release/official/ \
+ ftp://ftp.club-internet.fr/pub/mirrors/ftp.porcupine.org/postfix-release/official/
patchfiles patch-sys_defs.h patch-main.cf patch-mail_params.h patch-postfix-install
@@ -29,17 +26,17 @@
[glob ${worksrcpath}/man/man1/*] \
[glob ${worksrcpath}/man/man5/*] \
[glob ${worksrcpath}/man/man8/*]
+
+ reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/src/util/sys_defs.h
+ reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/conf/main.cf
+ reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/src/global/mail_params.h
}
set CCARGS -DNO_PCRE
set AUXLIBS "-L${prefix}/lib -R${prefix}/lib -L${prefix}/lib"
configure {
- cd ${worksrcpath}
system "make makefiles CCARGS=\"${CCARGS}\" AUXLIBS=\"${AUXLIBS}\""
- reinplace "s|__PREFIX|${prefix}|g" src/util/sys_defs.h
- reinplace "s|__PREFIX|${prefix}|g" conf/main.cf
- reinplace "s|__PREFIX|${prefix}|g" src/global/mail_params.h
}
build.target
@@ -51,7 +48,6 @@
destroot {
adduser postfix realname=Postfix\ Server
addgroup postdrop
- cd ${worksrcpath}
file mkdir ${destroot}${prefix}/etc/postfix
file mkdir ${destroot}${prefix}/share/postfix
xinstall -d -o postfix -g postdrop -m \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071018/64e45a0b/attachment-0001.html
More information about the macports-changes
mailing list