aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qtools/Makefile
blob: 9dc33ceb619313337fee0096c6725e3d70b93460 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    qtools
# Date created:             3 July 2001
# Whom:                 petef@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   qtools
PORTVERSION=    0.56
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://www.superscript.com/qtools/

MAINTAINER= sergei@FreeBSD.org
COMMENT=    Tools to use in .qmail files

RUN_DEPENDS=    ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \
        ${EZMLM_DIR}/bin/ezmlm-weed:${PORTSDIR}/mail/ezmlm

ALL_TARGET= it
INSTALL_TARGET= setup check

QMAIL_DIR?= /var/qmail
EZMLM_DIR?= ${LOCALBASE}

do-configure:
    @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
    @${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
    @${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
    @${ECHO_CMD} "${QMAIL_DIR}" > ${WRKSRC}/conf-qmail
    @${ECHO_CMD} "${EZMLM_DIR}/bin/ezmlm" > ${WRKSRC}/conf-ezmlm

.include <bsd.port.mk>