Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 1998 03:00:01 -0800 (PST)
From:      Neil Blakey-Milner <nbm@rucus.ru.ac.za>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/8884: New port - ezmlm
Message-ID:  <199811291100.DAA23162@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/8884; it has been noted by GNATS.

From: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
To: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Cc:  Subject: Re: ports/8884: New port - ezmlm
Date: Sun, 29 Nov 1998 12:57:28 +0200

 On Sat 1998-11-28 (16:40), FreeBSD-gnats-submit@FreeBSD.ORG wrote:
 > >Category:       ports
 > >Responsible:    freebsd-ports
 > >Synopsis:       New port: mail/ezmlm
 > >Arrival-Date:   Sat Nov 28 16:40:01 PST 1998
 
 Please apply the following patch to add dependancy to qmail.
 
 
 --- ezmlm.orig/Makefile	Sun Nov 29 12:06:22 1998
 +++ ezmlm/Makefile	Sun Nov 29 12:33:29 1998
 @@ -11,6 +11,8 @@
  
  MAINTAINER=	ports@freebsd.org
  
 +RUN_DEPENDS=	${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
 +
  ALL_TARGET=	it
  INSTALL_TARGET=	setup
  
 @@ -19,17 +21,26 @@
  MAN1+=		ezmlm-warn.1 ezmlm-weed.1
  MAN5=		ezmlm.5
  
 -DIFF_MSG=       Cannot Make and Install with different PREFIX or DESTDIR
 +DIFF_MSG=       Cannot Make and Install with different PREFIX or QMAIL_DIR
 +
 +.if exists(/usr/local/qmail/bin/qmail-send)
 +QMAIL_DIR?=	/usr/local/qmail
 +.else
 +QMAIL_DIR?=	/var/qmail
 +.endif
  
  post-patch:
  	@perl -pi.bak -e "s|.usr.local.bin.ezmlm|${PREFIX}/bin|" ${WRKSRC}/conf-bin
  	@perl -pi.bak -e "s|.usr.local|${PREFIX}|" ${WRKSRC}/conf-man
 +	@perl -pi.bak -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
  	@perl -pi.bak -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
  	@perl -pi.bak -e '$$_ = "" if /cat/' ${WRKSRC}/MAN
  	@echo ${PREFIX} > ${WRKDIR}/.PPREFIX
 +	@echo ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
  
  pre-install:
  	@echo ${PREFIX} > ${WRKDIR}/.IPREFIX
 +	@echo ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX
  	@diff ${WRKDIR}/.[PI]PREFIX > /dev/null \
  	|| (echo ${DIFF_MSG} && exit 1)
  
 Thanks,
 
 Neil
 -- 
 Neil Blakey-Milner
 nbm@rucus.ru.ac.za

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811291100.DAA23162>