Make exim-monitor a slave of the exim port,

including any exiscan patches.

Approved by:	sheldonh (maintainer)
This commit is contained in:
Oliver Eikemeier 2004-04-28 23:11:10 +00:00
parent 70b88ad66f
commit 4aea318324
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107895
2 changed files with 7 additions and 32 deletions

View File

@ -5,44 +5,18 @@
# $FreeBSD$
#
PORTNAME= exim-monitor
PORTVERSION= ${EXIM_VERSION}
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_EXIM}
MASTER_SITE_SUBDIR= exim4
DISTNAME= exim-${PORTVERSION}
DIST_SUBDIR= exim
PKGNAMESUFFIX= -monitor
MAINTAINER= sheldonh@FreeBSD.org
COMMENT= The Exim monitor for the Exim MTA
USE_BZIP2= yes
USE_PERL5= yes
USE_XLIB= yes
MASTERDIR= ${.CURDIR}/../exim
PKGDIR= ${.CURDIR}
EXIM_VERSION= 4.20
EXIMON_ONLY= yes
# This dependency is disabled, because it prevents package users from
# using the exim-monitor package with any of the exim slave packages.
#
#RUN_DEPENDS= ${LOCALBASE}/sbin/exim:${PORTSDIR}/mail/exim
MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH}
SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},'
do-configure:
${MKDIR} ${WRKSRC}/Local
${SED} ${SEDLIST} < ${WRKSRC}/src/EDITME > ${WRKSRC}/Local/Makefile
${CP} ${WRKSRC}/exim_monitor/EDITME ${WRKSRC}/Local/eximon.conf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/build-${OPSYS}-${MACHINE_ARCH}/eximon.bin \
${PREFIX}/sbin/
${INSTALL_SCRIPT} ${WRKSRC}/build-${OPSYS}-${MACHINE_ARCH}/eximon \
${PREFIX}/sbin/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -1,9 +1,10 @@
Although the Exim monitor has been correctly installed, please note
that it is useless without the Exim MTA. Install one of the Exim
packages available, which include documentation for the Exim monitor:
exim
exim-ldap
exim-ldap2
exim-mysql
exim-postgresql