freebsd-ports/mail/exim-monitor/Makefile
Sheldon Hearn 47571fae0a Catch up with the location of the distfile on the master site and
mirrors.  The exim-3.x distribution has been moved into exim3
in preparation for the advent of exim-4.x.

Reported by:	fenner
2001-12-07 18:38:59 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: exim-monitor
# Date created: 27 August 2001
# Whom: sheldonh@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= exim-monitor
PORTVERSION= 3.33
CATEGORIES= mail
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim3/ \
http://www.exim.org/ftp/exim3/ \
ftp://ftp.is.co.za/networking/mail/transport/exim/exim3/
DISTNAME= exim-${PORTVERSION}
MAINTAINER= sheldonh@FreeBSD.org
USE_BZIP2= yes
USE_PERL5= yes
USE_XLIB= 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>