PortSystem 1.0
PortGroup gnustep 1.0
name GNUMail
version 1.2.0pre3
revision 1
platforms darwin
license GPL-2+
maintainers nomaintainer
description Fully featured mail application using GNUStep or Cocoa.
long_description GNUMail.app is a fully featured mail application \
running on multiple platforms. It uses the GNUstep \
development framework or Apple Cocoa, which are based \
on the OpenStep specification provided by NeXT, Inc..
homepage http://www.collaboration-world.com/gnumail/
master_sites http://www.collaboration-world.com/gnumail.data/releases/Stable/
checksums md5 66094028676b19cb2eee15e163073ee5
depends_lib port:Etoile port:Pantomime
worksrcdir ${name}
post-patch {
foreach i { Advanced Colors Fonts MIME Receiving Sending Viewing } {
reinplace "s|lGNUMail|lGNUMail -lPantomime -lAddresses -lAddressView|g" \
${worksrcpath}/Bundles/${i}/GNUmakefile
}
foreach i { Account Compose Import } {
reinplace "s|lGNUMail|lGNUMail -lAddresses -lAddressView|g" \
${worksrcpath}/Bundles/${i}/GNUmakefile
}
reinplace "s|lGNUMail|lGNUMail -lAddressView|g" \
${worksrcpath}/Bundles/Filtering/GNUmakefile
reinplace "s|\$(GNUSTEP_INSTALLATION_DIR)|${destroot}${prefix}/GNUstep/Local|g" \
${worksrcpath}/Bundles/Account/GNUmakefile \
${worksrcpath}/Bundles/Advanced/GNUmakefile \
${worksrcpath}/Bundles/Clock/GNUmakefile \
${worksrcpath}/Bundles/Colors/GNUmakefile \
${worksrcpath}/Bundles/Compose/GNUmakefile \
${worksrcpath}/Bundles/Emoticon/GNUmakefile \
${worksrcpath}/Bundles/Face/GNUmakefile \
${worksrcpath}/Bundles/Filtering/GNUmakefile \
${worksrcpath}/Bundles/Fonts/GNUmakefile \
${worksrcpath}/Bundles/Import/GNUmakefile \
${worksrcpath}/Bundles/MIME/GNUmakefile \
${worksrcpath}/Bundles/PGP/GNUmakefile \
${worksrcpath}/Bundles/Receiving/GNUmakefile \
${worksrcpath}/Bundles/Sending/GNUmakefile \
${worksrcpath}/Bundles/Viewing/GNUmakefile
}
build.args-append LINK_AGAINST_ALL_LIBS=yes