aboutsummaryrefslogblamecommitdiff
path: root/mail/exim-monitor/Makefile
blob: 2195b0632d76eea1ab054fb04cf96d12ac53d7f8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                    





                                            
                            

                    


                                                                        
                                   






























                                                                                
# 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>