1996-07-06 13:13:58 +02:00
|
|
|
# New ports collection makefile for: exim
|
|
|
|
# Date created: 23 June 1996
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: markm@FreeBSD.org
|
1996-07-06 13:13:58 +02:00
|
|
|
#
|
1999-08-25 08:51:17 +02:00
|
|
|
# $FreeBSD$
|
1996-07-06 13:13:58 +02:00
|
|
|
#
|
|
|
|
|
2000-04-13 22:01:08 +02:00
|
|
|
PORTNAME= exim
|
2002-09-12 12:09:02 +02:00
|
|
|
PORTVERSION= ${EXIM_VERSION}
|
2003-03-04 08:56:11 +01:00
|
|
|
PORTREVISION= 5
|
1996-11-10 22:32:56 +01:00
|
|
|
CATEGORIES= mail
|
2002-09-12 12:09:02 +02:00
|
|
|
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
|
|
|
|
http://www.exim.org/ftp/exim4/ \
|
|
|
|
ftp://ftp.is.co.za/networking/mail/transport/exim/exim4/
|
2002-09-19 12:34:12 +02:00
|
|
|
.if !defined(WITHOUT_EXISCAN)
|
|
|
|
MASTER_SITES+= http://duncanthrax.net/exiscan/
|
|
|
|
.endif
|
2002-09-12 12:09:02 +02:00
|
|
|
DISTFILES= exim-${EXIM_VERSION}.tar.bz2 \
|
|
|
|
exim-texinfo-${EXIM_DOCVERSION}.tar.bz2
|
2002-09-19 12:34:12 +02:00
|
|
|
.if !defined(WITHOUT_EXISCAN)
|
2002-10-16 12:00:17 +02:00
|
|
|
DISTFILES+= exiscan-${EXISCAN_VERSION}.tar.bz2
|
2002-09-19 12:34:12 +02:00
|
|
|
.endif
|
1996-07-09 23:24:47 +02:00
|
|
|
|
1999-06-21 13:07:15 +02:00
|
|
|
MAINTAINER= sheldonh@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= High performance MTA for Unix systems on the Internet
|
1996-07-06 13:13:58 +02:00
|
|
|
|
2001-08-16 11:54:51 +02:00
|
|
|
USE_BZIP2= yes
|
2002-11-04 06:46:38 +01:00
|
|
|
USE_PERL5= yes
|
2002-09-12 12:09:02 +02:00
|
|
|
MAN8= exim.8
|
|
|
|
|
2003-01-08 14:33:30 +01:00
|
|
|
EXIM_VERSION= 4.12
|
2002-09-12 12:09:02 +02:00
|
|
|
EXIM_DOCVERSION= 4.10
|
2003-03-04 08:56:11 +01:00
|
|
|
EXISCAN_VERSION= 4.12-25
|
2002-09-12 12:09:02 +02:00
|
|
|
|
|
|
|
PLIST_SUB+= EXIM_VERSION="${EXIM_VERSION}"
|
|
|
|
|
2002-06-18 11:43:05 +02:00
|
|
|
.if defined(NOPORTDOCS)
|
2002-09-19 12:34:12 +02:00
|
|
|
PKGMESSAGE= ${WRKDIR}/POST-INSTALL-NOTES
|
2002-06-18 11:43:05 +02:00
|
|
|
.endif
|
|
|
|
|
2001-07-10 12:47:29 +02:00
|
|
|
MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH}
|
|
|
|
|
2003-01-04 16:53:39 +01:00
|
|
|
POSTGRESQL_PORT?= databases/postgresql7
|
|
|
|
|
2001-08-27 15:23:52 +02:00
|
|
|
# If WITH_EXIMON is defined, the eximon monitor, which requires X,
|
|
|
|
# will be made a dependency. Note that using WITH_EXIMON will cause
|
|
|
|
# XFree86 to be installed if it is not present.
|
|
|
|
#WITH_EXIMON= yes
|
1999-06-17 10:46:27 +02:00
|
|
|
|
2002-09-19 12:34:12 +02:00
|
|
|
# If WITHOUT_EXISCAN is defined, exim will be built without exiscan
|
|
|
|
# email content scanner support.
|
|
|
|
#WITHOUT_EXISCAN= yes
|
|
|
|
|
2001-06-10 15:59:43 +02:00
|
|
|
# Define WITH_TCP_WRAPPERS, WITH_LDAP, WITH_MYSQL, and WITH_PGSQL to
|
|
|
|
# link against libwrap, an LDAP library (see below), liblibmysqlclient
|
2002-09-12 12:09:02 +02:00
|
|
|
# and libpq respectively. Define WITH_PWCHECK to link against libsasl
|
|
|
|
# for SMTP AUTH authentication via the Cyrus SASL pwcheck daemon.
|
2001-06-10 15:59:43 +02:00
|
|
|
#WITH_TCP_WRAPPERS= yes
|
|
|
|
#WITH_LDAP= yes
|
|
|
|
#WITH_MYSQL= yes
|
|
|
|
#WITH_PGSQL= yes
|
2002-09-12 12:09:02 +02:00
|
|
|
#WITH_PWCHECK= yes
|
2000-05-23 11:23:45 +02:00
|
|
|
|
2001-07-10 12:47:29 +02:00
|
|
|
# Define WITHOUT_IPV6 to exclude IPv6 support from the compiled exim
|
|
|
|
# binary. Exim compiled with IPv6 support will still operate on
|
|
|
|
# systems that do not have IPv6 kernel support, so this should not
|
|
|
|
# be necessary.
|
|
|
|
#WITHOUT_IPV6= yes
|
2001-06-12 20:05:59 +02:00
|
|
|
|
2001-07-03 13:14:13 +02:00
|
|
|
# If WITH_LDAP is defined, LDAP_LIB_TYPE must be either OPENLDAP1 or
|
|
|
|
# OPENLDAP2. UMICHIGAN is an alias for OPENLDAP1. Exim also supports
|
|
|
|
# NETSCAPE and SOLARIS7 lookup types, but no client libraries exist
|
|
|
|
# for these in the ports tree.
|
|
|
|
LDAP_LIB_TYPE?=OPENLDAP1
|
2000-05-18 15:59:30 +02:00
|
|
|
|
2002-09-12 12:09:02 +02:00
|
|
|
# DB_LIB_VERSION is the version of the Berkeley DB library to use, and
|
|
|
|
# may be 1, which corresponds to version 1.85 in the base system, or 4
|
|
|
|
# which depends on the databases/db4 port.
|
|
|
|
DB_LIB_VERSION?=1
|
|
|
|
|
2001-06-11 09:20:07 +02:00
|
|
|
# The following options may be defined to turn off support for various
|
|
|
|
# features that this port enables by default.
|
|
|
|
#
|
|
|
|
# Do not link against OpenSSL; disables STARTTLS.
|
|
|
|
#WITHOUT_TLS= yes
|
|
|
|
#
|
|
|
|
# Disable the embedded Perl interpreter, which allows Perl subroutines to
|
|
|
|
# be called during string expansion.
|
|
|
|
#WITHOUT_PERL= yes
|
|
|
|
#
|
|
|
|
# Disable built-in Exim support for the PAM, RFC 2195 and RFC 2595
|
|
|
|
# authentication mechanisms, used for SMTP AUTH.
|
|
|
|
#WITHOUT_PAM= yes
|
|
|
|
#WITHOUT_AUTH_CRAM_MD5= yes
|
|
|
|
#WITHOUT_AUTH_PLAINTEXT= yes
|
|
|
|
#
|
|
|
|
# Disable built-in Exim support for additional mailbox formats.
|
|
|
|
#WITHOUT_MAILDIR= yes
|
|
|
|
#WITHOUT_MAILSTORE= yes
|
|
|
|
#WITHOUT_MBX= yes
|
2001-06-11 11:40:24 +02:00
|
|
|
#
|
2002-10-05 14:18:29 +02:00
|
|
|
# Define WITHOUT_CDB, WITHOUT_DSEARCH and WITHOUT_NIS to disable support for
|
|
|
|
# CDB-style, directory-list and NIS lookups respectively.
|
2001-06-11 11:40:24 +02:00
|
|
|
#WITHOUT_CDB= yes
|
2002-10-05 14:18:29 +02:00
|
|
|
#WITHOUT_DSEARCH= yes
|
|
|
|
#WITHOUT_NIS= yes
|
2002-01-28 14:46:25 +01:00
|
|
|
#
|
|
|
|
# Disable support for the LMTP (RFC 2033 "SMTP over command pipe")
|
|
|
|
# transport.
|
|
|
|
#WITHOUT_LMTP
|
2000-02-19 18:18:27 +01:00
|
|
|
|
1999-08-03 19:01:39 +02:00
|
|
|
# You should not need to fiddle with anything below this point.
|
|
|
|
|
2001-08-27 15:23:52 +02:00
|
|
|
.if defined(WITH_EXIMON)
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/eximon:${PORTSDIR}/mail/exim-monitor
|
2001-07-10 12:47:29 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-12 12:09:02 +02:00
|
|
|
PORTDOC_FILES= Exim3.upgrade Exim4.upgrade OptionLists.txt README \
|
2002-09-19 12:34:12 +02:00
|
|
|
dbm.discuss.txt filter.txt pcre.txt pcretest.txt \
|
2002-09-12 12:09:02 +02:00
|
|
|
spec.txt
|
2002-09-19 12:34:12 +02:00
|
|
|
.if !defined(WITHOUT_EXISCAN)
|
|
|
|
PORTDOC_FILES+= exiscan-readme.txt
|
|
|
|
PLIST_SUB+= EXISCAN=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EXISCAN="@comment "
|
|
|
|
.endif
|
2002-09-12 12:09:02 +02:00
|
|
|
|
2001-07-10 12:47:29 +02:00
|
|
|
.if ${OSVERSION} < 400014
|
|
|
|
WITHOUT_IPV6= yes
|
|
|
|
.endif
|
|
|
|
|
2001-08-27 15:23:52 +02:00
|
|
|
SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},'
|
2000-05-23 11:23:45 +02:00
|
|
|
|
2001-06-11 09:20:07 +02:00
|
|
|
.if !defined(WITHOUT_TLS)
|
2001-06-11 09:49:53 +02:00
|
|
|
SEDLIST+= -e 's,^\# SUPPORT_TLS=,SUPPORT_TLS=,'
|
2001-06-11 09:53:55 +02:00
|
|
|
.else
|
2001-08-27 15:23:52 +02:00
|
|
|
SEDLIST+= -e 's,^TLS_LIBS=,\#TLS_LIBS=,'
|
2000-12-21 09:56:52 +01:00
|
|
|
.endif
|
|
|
|
|
2001-06-11 09:20:07 +02:00
|
|
|
.if !defined(WITHOUT_PERL)
|
2001-06-11 09:07:07 +02:00
|
|
|
SEDLIST+= -e 's,^\# EXIM_PERL=,EXIM_PERL=,'
|
1999-08-03 19:01:39 +02:00
|
|
|
.endif
|
|
|
|
|
2001-06-11 09:20:07 +02:00
|
|
|
.if defined(WITH_TCP_WRAPPERS)
|
2001-06-10 15:59:43 +02:00
|
|
|
SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,-lwrap,' \
|
2001-06-11 09:07:07 +02:00
|
|
|
-e 's,^\# USE_TCP_WRAPPERS=,USE_TCP_WRAPPERS=,'
|
2001-06-11 09:21:46 +02:00
|
|
|
.else
|
2001-06-11 09:22:50 +02:00
|
|
|
SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,,'
|
2001-06-10 15:59:43 +02:00
|
|
|
.endif
|
|
|
|
|
2000-04-17 02:19:02 +02:00
|
|
|
.if defined(WITH_LDAP)
|
2001-07-03 13:14:13 +02:00
|
|
|
.if (${LDAP_LIB_TYPE} == OPENLDAP1) || (${LDAP_LIB_TYPE} == UMICHIGAN)
|
2003-02-24 03:26:55 +01:00
|
|
|
LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap12
|
2001-07-03 13:14:13 +02:00
|
|
|
.elif ${LDAP_LIB_TYPE} == OPENLDAP2
|
2003-02-24 03:56:37 +01:00
|
|
|
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
|
2001-07-03 13:14:13 +02:00
|
|
|
.else
|
|
|
|
.error LDAP_LIB_TYPE must be either OPENLDAP1 or OPENLDAP2
|
|
|
|
.endif
|
2001-08-27 15:23:52 +02:00
|
|
|
SEDLIST+= -e 's,XX_LDAP_LIBS_XX,-L${LOCALBASE}/lib -llber -lldap,' \
|
|
|
|
-e 's,XX_LDAP_INCLUDE_XX,-I${LOCALBASE}/include,' \
|
2000-04-04 13:51:19 +02:00
|
|
|
-e 's,XX_LDAP_TYPE_XX,${LDAP_LIB_TYPE},' \
|
2001-06-11 09:07:07 +02:00
|
|
|
-e 's,^\# LOOKUP_LDAP=,LOOKUP_LDAP=,'
|
2000-04-04 13:51:19 +02:00
|
|
|
.else
|
|
|
|
SEDLIST+= -e 's,XX_LDAP_[^ ]*_XX,,' \
|
2001-08-27 15:23:52 +02:00
|
|
|
-e 's,^LDAP_LIB_TYPE=,\#LDAP_LIB_TYPE=,'
|
2000-04-04 13:51:19 +02:00
|
|
|
.endif
|
|
|
|
|
2002-09-12 12:09:02 +02:00
|
|
|
.if (${DB_LIB_VERSION} == 1)
|
|
|
|
DB_LIBS=
|
2003-03-07 10:39:52 +01:00
|
|
|
DB_INCLUDES=
|
|
|
|
SEDLIST+= -e 's,^DBMLIB=,\#DBMLIB=,'
|
2002-09-12 12:09:02 +02:00
|
|
|
.elif (${DB_LIB_VERSION} == 4)
|
2003-03-07 10:39:52 +01:00
|
|
|
DB_LIBS= -L${LOCALBASE}/lib -ldb4
|
|
|
|
DB_INCLUDES= -I${LOCALBASE}/include/db4
|
2002-09-12 12:09:02 +02:00
|
|
|
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
|
|
|
|
.else
|
|
|
|
.error DB_LIB_VERSION must be either 1 or 4
|
|
|
|
.endif
|
2003-03-07 10:39:52 +01:00
|
|
|
SEDLIST+= -e 's,XX_DB_LIBS_XX,${DB_LIBS},' \
|
|
|
|
-e 's,XX_DB_INCLUDES_XX,${DB_INCLUDES},'
|
2002-09-12 12:09:02 +02:00
|
|
|
|
2000-04-17 02:19:02 +02:00
|
|
|
.if defined(WITH_MYSQL)
|
2001-01-21 16:40:47 +01:00
|
|
|
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
2001-08-27 15:23:52 +02:00
|
|
|
SEDLIST+= -e 's,XX_MYSQL_LIBS_XX,-L${LOCALBASE}/lib/mysql -lmysqlclient,' \
|
|
|
|
-e 's,XX_MYSQL_INCLUDE_XX,-I${LOCALBASE}/include/mysql,' \
|
2001-06-11 09:07:07 +02:00
|
|
|
-e 's,^\# LOOKUP_MYSQL=,LOOKUP_MYSQL=,'
|
1999-08-03 19:01:39 +02:00
|
|
|
.else
|
|
|
|
SEDLIST+= -e 's,XX_MYSQL_[^ ]*_XX,,'
|
|
|
|
.endif
|
|
|
|
|
2002-09-12 12:09:02 +02:00
|
|
|
.if defined(WITH_PWCHECK)
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl
|
|
|
|
SEDLIST+= -e 's,^\# SUPPORT_CYRUS_PWCHECK=,SUPPORT_CYRUS_PWCHECK=,' \
|
2002-09-19 12:34:12 +02:00
|
|
|
-e 's,^\# CYRUS_PWCHECK_SOCKET=,CYRUS_PWCHECK_SOCKET=,'
|
2002-09-12 12:09:02 +02:00
|
|
|
.endif
|
|
|
|
|
2001-06-11 09:20:07 +02:00
|
|
|
.if !defined(WITHOUT_PAM)
|
2001-06-10 15:43:50 +02:00
|
|
|
SEDLIST+= -e 's,XX_PAM_LIBS_XX,-lpam,' \
|
2001-06-11 09:07:07 +02:00
|
|
|
-e 's,^\# SUPPORT_PAM=,SUPPORT_PAM=,'
|
2000-05-23 11:23:45 +02:00
|
|
|
.else
|
2001-06-10 15:43:50 +02:00
|
|
|
SEDLIST+= -e 's,XX_PAM_LIBS_XX,,'
|
2000-01-28 16:57:48 +01:00
|
|
|
.endif
|
|
|
|
|
2001-06-11 09:20:07 +02:00
|
|
|
.if !defined(WITHOUT_AUTH_CRAM_MD5)
|
2001-06-11 09:07:07 +02:00
|
|
|
SEDLIST+= -e 's,^\# AUTH_CRAM_MD5=,AUTH_CRAM_MD5=,'
|
2000-01-28 16:57:48 +01:00
|
|
|
.endif
|
|
|
|
|
2001-06-11 09:20:07 +02:00
|
|
|
.if !defined(WITHOUT_AUTH_PLAINTEXT)
|
2001-06-11 09:07:07 +02:00
|
|
|
SEDLIST+= -e 's,^\# AUTH_PLAINTEXT=,AUTH_PLAINTEXT=,'
|
2000-05-23 11:23:45 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PGSQL)
|
2003-01-04 16:53:39 +01:00
|
|
|
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
2001-08-27 15:23:52 +02:00
|
|
|
SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${LOCALBASE}/lib -lpq,' \
|
|
|
|
-e 's,XX_PGSQL_INCLUDE_XX,-I${LOCALBASE}/include/pgsql,' \
|
2001-06-11 09:07:07 +02:00
|
|
|
-e 's,^\# LOOKUP_PGSQL=,LOOKUP_PGSQL=,'
|
2000-05-23 11:23:45 +02:00
|
|
|
.else
|
|
|
|
SEDLIST+= -e 's,XX_PGSQL_[^ ]*_XX,,'
|
|
|
|
.endif
|
|
|
|
|
2001-07-10 12:47:29 +02:00
|
|
|
.if !defined(WITHOUT_IPV6)
|
2001-06-12 20:05:59 +02:00
|
|
|
SEDLIST+= -e 's,^\# HAVE_IPV6=,HAVE_IPV6=,'
|
|
|
|
.endif
|
|
|
|
|
2002-09-12 12:09:02 +02:00
|
|
|
.if !defined(WITH_PGSQL) && !defined(WITH_MYSQL) && !defined(WITH_LDAP) && \
|
|
|
|
${DB_LIB_VERSION} == 1
|
2001-08-27 15:23:52 +02:00
|
|
|
SEDLIST+= -e 's,^LOOKUP_LIBS=,\#LOOKUP_LIBS=,' \
|
|
|
|
-e 's,^LOOKUP_INCLUDE=,\#LOOKUP_INCLUDE=,'
|
2000-01-28 16:57:48 +01:00
|
|
|
.endif
|
|
|
|
|
2001-06-11 09:20:07 +02:00
|
|
|
.if !defined(WITHOUT_MAILDIR)
|
2001-06-11 09:07:07 +02:00
|
|
|
SEDLIST+= -e 's,^\# SUPPORT_MAILDIR=,SUPPORT_MAILDIR=,'
|
2000-02-19 18:18:27 +01:00
|
|
|
.endif
|
|
|
|
|
2001-06-11 11:40:24 +02:00
|
|
|
.if !defined(WITHOUT_MAILSTORE)
|
2001-06-11 09:07:07 +02:00
|
|
|
SEDLIST+= -e 's,^\# SUPPORT_MAILSTORE=,SUPPORT_MAILSTORE=,'
|
2000-02-19 18:18:27 +01:00
|
|
|
.endif
|
|
|
|
|
2001-06-11 11:40:24 +02:00
|
|
|
.if !defined(WITHOUT_MBX)
|
2001-06-11 09:07:07 +02:00
|
|
|
SEDLIST+= -e 's,^\# SUPPORT_MBX=,SUPPORT_MBX=,'
|
2000-02-19 18:18:27 +01:00
|
|
|
.endif
|
|
|
|
|
2001-06-11 11:40:24 +02:00
|
|
|
.if !defined(WITHOUT_CDB)
|
|
|
|
SEDLIST+= -e 's,^\# LOOKUP_CDB=,LOOKUP_CDB=,'
|
|
|
|
.endif
|
|
|
|
|
2002-10-05 14:18:29 +02:00
|
|
|
.if !defined(WITHOUT_DSEARCH)
|
|
|
|
SEDLIST+= -e 's,^\# LOOKUP_DSEARCH=,LOOKUP_DSEARCH=,'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NIS)
|
|
|
|
SEDLIST+= -e 's,^\# LOOKUP_NIS=,LOOKUP_NIS=,'
|
|
|
|
.endif
|
|
|
|
|
2002-01-28 14:46:25 +01:00
|
|
|
.if !defined(WITHOUT_LMTP)
|
|
|
|
SEDLIST+= -e 's,^\# TRANSPORT_LMTP=,TRANSPORT_LMTP=,'
|
|
|
|
.endif
|
|
|
|
|
2002-09-19 12:34:12 +02:00
|
|
|
post-patch:
|
|
|
|
.if !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
|
|
|
|
|
1999-08-03 19:01:39 +02:00
|
|
|
do-configure:
|
|
|
|
${MKDIR} ${WRKSRC}/Local
|
2001-06-11 09:49:53 +02:00
|
|
|
${SED} ${SEDLIST} < ${WRKSRC}/src/EDITME > ${WRKSRC}/Local/Makefile
|
1998-10-07 12:49:32 +02:00
|
|
|
cd ${WRKSRC}/doc && \
|
2002-09-12 12:09:02 +02:00
|
|
|
for i in ../../exim-texinfo-${EXIM_DOCVERSION}/doc/* ; do \
|
1999-08-28 03:58:05 +02:00
|
|
|
${LN} -sf $$i ; \
|
1998-10-07 12:49:32 +02:00
|
|
|
done
|
|
|
|
|
2001-06-11 11:20:20 +02:00
|
|
|
pre-install:
|
|
|
|
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
|
|
|
|
2001-06-12 20:05:59 +02:00
|
|
|
post-install:
|
2002-04-03 18:15:30 +02:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/exim.sh ${PREFIX}/etc/rc.d
|
2001-09-11 13:06:54 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/exim
|
2002-09-19 12:34:12 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/POST-INSTALL-NOTES ${PREFIX}/share/doc/exim
|
2002-09-12 12:09:02 +02:00
|
|
|
.for file in ${PORTDOC_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/exim
|
|
|
|
.endfor
|
|
|
|
.for file in ${MAN8}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${file} ${PREFIX}/man/man8
|
|
|
|
.endfor
|
2001-09-11 13:06:54 +02:00
|
|
|
.endif
|
2001-06-14 19:37:59 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2001-07-10 12:47:29 +02:00
|
|
|
.include <bsd.port.post.mk>
|