Date: Sun, 29 Nov 1998 03:00:02 -0800 (PST) From: Neil Blakey-Milner <nbm@rucus.ru.ac.za> To: freebsd-ports@FreeBSD.ORG Subject: Re: ports/8885: New port: mail/ezmlm-idx Message-ID: <199811291100.DAA23167@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/8885; 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/8885: New port: mail/ezmlm-idx Date: Sun, 29 Nov 1998 12:58:39 +0200 On Sat 1998-11-28 (16:40), FreeBSD-gnats-submit@FreeBSD.ORG wrote: > >Category: ports > >Responsible: freebsd-ports > >Synopsis: New port: mail/ezmlm-idx > >Arrival-Date: Sat Nov 28 16:40:01 PST 1998 Please apply the following patch to add dependancy to qmail. --- ezmlm-idx.orig/Makefile Sun Nov 29 12:06:39 1998 +++ ezmlm-idx/Makefile Sun Nov 29 12:39:06 1998 @@ -13,6 +13,8 @@ MAINTAINER= ports@freebsd.org +RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail + WRKSRC= ${WRKDIR}/ezmlm-${EZMLM_VERSION} ALL_TARGET= it @@ -27,7 +29,13 @@ MAN1+= ezmlm-cron.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 EZMLM_VERSION= 0.53 IDX_VERSION= 0.312 @@ -41,11 +49,15 @@ @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|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc + @perl -pi.bak -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail + @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.DAA23167>