1999-01-18 03:48:08 +00:00
|
|
|
# New ports collection makefile for: ezmlm
|
|
|
|
# Date created: 28 November 1998
|
|
|
|
# Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
|
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1999-01-18 03:48:08 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 20:01:08 +00:00
|
|
|
PORTNAME= ezmlm
|
2001-01-16 17:33:20 +00:00
|
|
|
PORTVERSION= 0.53
|
1999-01-18 03:48:08 +00:00
|
|
|
CATEGORIES= mail
|
1999-02-22 04:19:11 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ezmlm.org/pub/qmail/ \
|
|
|
|
ftp://ftp.ntnu.no/pub/unix/mail/qmail/ \
|
1999-03-26 15:44:29 +00:00
|
|
|
ftp://mirror.pipex.net/pub/qmail/ \
|
1999-02-22 04:19:11 +00:00
|
|
|
ftp://ftp.jp.qmail.org/qmail/ \
|
|
|
|
ftp://ftp.rifkin.technion.ac.il/pub/qmail/ \
|
|
|
|
ftp://ftp.mira.net.au/unix/mail/qmail/
|
1999-01-18 03:48:08 +00:00
|
|
|
|
2000-09-15 00:25:04 +00:00
|
|
|
MAINTAINER= tom@FreeBSD.org
|
1999-02-22 04:19:11 +00:00
|
|
|
|
|
|
|
# QMAIL_DIR is the directory where qmail is installed
|
|
|
|
.if !defined(QMAIL_DIR)
|
|
|
|
QMAIL_DIR= /var/qmail
|
|
|
|
.endif
|
1999-01-18 03:48:08 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
|
|
|
|
|
1999-02-22 04:19:11 +00:00
|
|
|
NO_PACKAGE= Unsure of djb's license
|
|
|
|
|
1999-01-18 03:48:08 +00:00
|
|
|
ALL_TARGET= it
|
|
|
|
|
1999-02-22 04:19:11 +00:00
|
|
|
MAN1= ezmlm-list.1 ezmlm-make.1 ezmlm-manage.1 ezmlm-reject.1 \
|
|
|
|
ezmlm-return.1 ezmlm-send.1 ezmlm-sub.1 ezmlm-unsub.1 \
|
|
|
|
ezmlm-warn.1 ezmlm-weed.1
|
1999-01-18 03:48:08 +00:00
|
|
|
MAN5= ezmlm.5
|
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
DIFF_MSG= Cannot Make and Install with different PREFIX or QMAIL_DIR
|
1999-01-18 03:48:08 +00:00
|
|
|
|
1999-02-22 04:19:11 +00:00
|
|
|
MY_PROGRAMS= ezmlm-make ezmlm-manage ezmlm-send ezmlm-reject ezmlm-return \
|
|
|
|
ezmlm-warn ezmlm-weed ezmlm-list ezmlm-sub ezmlm-unsub
|
1999-01-18 03:48:08 +00:00
|
|
|
|
|
|
|
post-patch:
|
2002-01-29 11:48:57 +00:00
|
|
|
@${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin
|
|
|
|
@${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
|
|
|
@${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld
|
|
|
|
@${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man
|
|
|
|
@${ECHO_CMD} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail
|
|
|
|
@${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.PPREFIX
|
|
|
|
@${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
|
1999-01-18 03:48:08 +00:00
|
|
|
|
|
|
|
pre-install:
|
2002-01-29 11:48:57 +00:00
|
|
|
@${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.IPREFIX
|
|
|
|
@${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX
|
1999-08-27 22:30:39 +00:00
|
|
|
@diff ${WRKDIR}/.[PI]PREFIX || (${ECHO} ${DIFF_MSG} && exit 1)
|
1999-02-22 04:19:11 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for file in ${MY_PROGRAMS}
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
.for file in ${MAN1}
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1
|
|
|
|
.endfor
|
|
|
|
.for file in ${MAN5}
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man5
|
|
|
|
.endfor
|
1999-01-18 03:48:08 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|