aboutsummaryrefslogtreecommitdiffstats
path: root/mail/exim/Makefile
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2003-08-14 18:25:15 +0800
committersheldonh <sheldonh@FreeBSD.org>2003-08-14 18:25:15 +0800
commit2676d95c1e86bd8e60cbb1221fd7c841fbbbc73b (patch)
treed414be28928eb3123fd250d5158c9e48fb892fd8 /mail/exim/Makefile
parent0defb9cf1f9a751c7d761485e599bfa877f7306c (diff)
downloadfreebsd-ports-gnome-2676d95c1e86bd8e60cbb1221fd7c841fbbbc73b.tar.gz
freebsd-ports-gnome-2676d95c1e86bd8e60cbb1221fd7c841fbbbc73b.tar.zst
freebsd-ports-gnome-2676d95c1e86bd8e60cbb1221fd7c841fbbbc73b.zip
Update to exim-4.21:
* This is a mostly maintenance release, although some new features have been added (including Sieve support). !!!WARNING!!! The non-ACL exiscan patch is no longer supported. The exiscan-acl patch is now used by default, unless WITHOUT_EXISCAN is given. This means that existing installations that rely on non-ACL exiscan CAN NOT be upgraded without changes to the configure file.
Diffstat (limited to 'mail/exim/Makefile')
-rw-r--r--mail/exim/Makefile41
1 files changed, 11 insertions, 30 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 0a87cf7576e8..2ad56537b395 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -7,37 +7,32 @@
PORTNAME= exim
PORTVERSION= ${EXIM_VERSION}
-PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_EXIM} \
- http://duncanthrax.net/%SUBDIR%/:exiscan,exiscan_acl
-MASTER_SITE_SUBDIR= exim4 exiscan/:exiscan exiscan-acl/:exiscan_acl
+ http://duncanthrax.net/%SUBDIR%/:exiscan_acl
+MASTER_SITE_SUBDIR= exim4 exiscan-acl/:exiscan_acl
DISTFILES= exim-${EXIM_VERSION}${EXTRACT_SUFX} \
exim-texinfo-${EXIM_DOCVERSION}${EXTRACT_SUFX}
-.if defined(WITH_EXISCAN_ACL)
+.if !defined(WITHOUT_EXISCAN)
DISTFILES+= exiscan-acl-${EXISCAN_ACL_VERSION}.patch.bz2:exiscan_acl
-.elif !defined(WITHOUT_EXISCAN)
-DISTFILES+= exiscan-${EXISCAN_VERSION}${EXTRACT_SUFX}:exiscan
.endif
DIST_SUBDIR= exim
EXTRACT_ONLY= exim-${EXIM_VERSION}${EXTRACT_SUFX} \
exim-texinfo-${EXIM_DOCVERSION}${EXTRACT_SUFX}
-.if !defined(WITH_EXISCAN_ACL) && !defined(WITHOUT_EXISCAN)
-EXTRACT_ONLY+= exiscan-${EXISCAN_VERSION}${EXTRACT_SUFX}
-.endif
MAINTAINER= sheldonh@FreeBSD.org
COMMENT= High performance MTA for Unix systems on the Internet
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+
USE_BZIP2= yes
USE_PERL5= yes
MAN8= exim.8
-EXIM_VERSION= 4.20
+EXIM_VERSION= 4.21
EXIM_DOCVERSION= 4.20
EXISCAN_ACL_VERSION= ${EXIM_VERSION}-10
-EXISCAN_VERSION= ${EXIM_VERSION}-26
PLIST_SUB+= EXIM_VERSION="${EXIM_VERSION}"
@@ -45,7 +40,7 @@ PLIST_SUB+= EXIM_VERSION="${EXIM_VERSION}"
PKGMESSAGE= ${WRKDIR}/POST-INSTALL-NOTES
.endif
-MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH}
+MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH} LOCALBASE=${LOCALBASE}
POSTGRESQL_PORT?= databases/postgresql7
@@ -54,10 +49,8 @@ POSTGRESQL_PORT?= databases/postgresql7
# XFree86 to be installed if it is not present.
#WITH_EXIMON= yes
-# If WITH_EXISCAN_ACL is defined, exim will be build with the newer
-# exiscan acl support. Otherwise if WITHOUT_EXISCAN is defined,
-# exim will be built without exiscan email content scanner support.
-#WITH_EXISCAN_ACL= yes
+# If WITHOUT_EXISCAN is defined, exim will be built without exiscan
+# email content scanner support.
#WITHOUT_EXISCAN= yes
# Define WITH_TCP_WRAPPERS, WITH_MYSQL, and WITH_PGSQL to link against
@@ -141,17 +134,11 @@ EXTRA_PATCHES+= `${FIND} ${PATCHDIR} -name 'wishlist-*.patch'`
PORTDOC_FILES= Exim3.upgrade Exim4.upgrade OptionLists.txt README \
dbm.discuss.txt filter.txt pcrepattern.txt pcretest.txt \
spec.txt
-.if defined(WITH_EXISCAN_ACL)
+.if !defined(WITHOUT_EXISCAN)
PORTDOC_FILES+= exiscan-acl-examples.txt exiscan-acl-spec.txt
PLIST_SUB+= EXISCAN_ACL=""
-PLIST_SUB+= EXISCAN="@comment "
-.elif !defined(WITHOUT_EXISCAN)
-PORTDOC_FILES+= exiscan-readme.txt
-PLIST_SUB+= EXISCAN_ACL="@comment "
-PLIST_SUB+= EXISCAN=""
.else
PLIST_SUB+= EXISCAN_ACL="@comment "
-PLIST_SUB+= EXISCAN="@comment "
.endif
.if ${OSVERSION} < 400014
@@ -331,17 +318,11 @@ pre-everything::
.endif
post-patch:
-.if defined(WITH_EXISCAN_ACL)
+.if !defined(WITHOUT_EXISCAN)
${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/exiscan-acl-${EXISCAN_ACL_VERSION}.patch.bz2 \
| ${PATCH} -d ${WRKSRC} -p1 > ${WRKDIR}/patch-exiscan-acl.log 2>&1
@${CAT} ${FILESDIR}/POST-INSTALL-NOTES.exiscan-acl \
${FILESDIR}/POST-INSTALL-NOTES > ${WRKDIR}/POST-INSTALL-NOTES
-.elif !defined(WITHOUT_EXISCAN)
- cd ${WRKSRC} && ${PATCH} -p1 \
- < ../exiscan-${EXISCAN_VERSION}/exiscan-${EXISCAN_VERSION}.patch \
- > ${WRKDIR}/patch-exiscan.log 2>&1
- @${CAT} ${FILESDIR}/POST-INSTALL-NOTES.exiscan \
- ${FILESDIR}/POST-INSTALL-NOTES > ${WRKDIR}/POST-INSTALL-NOTES
.else
@${CAT} ${FILESDIR}/POST-INSTALL-NOTES > ${WRKDIR}/POST-INSTALL-NOTES
.endif