Bug 8885 - New port: mail/ezmlm-idx
Summary: New port: mail/ezmlm-idx
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-11-29 00:40 UTC by nbm
Modified: 1999-01-18 03:51 UTC (History)
0 users

See Also:


Attachments
file.shar (4.96 KB, text/plain)
1998-11-29 00:40 UTC, nbm
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nbm 1998-11-29 00:40:01 UTC

    
Comment 1 nbm 1998-11-29 10:58:39 UTC
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
Comment 2 Steve Price freebsd_committer freebsd_triage 1999-01-18 03:51:25 UTC
State Changed
From-To: open->closed

New port committed, thanks!