aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qtools/Makefile
blob: f17380fb9a69d16acd6479bdc76fea5ba7024051 (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
34
35
36
# New ports collection makefile for:    qtools
# Date created:             3 July 2001
# Whom:                 petef@FreeBSD.org
#
# $FreeBSD$
#

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

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

RUN_DEPENDS=    ${EZMLM_DIR}/bin/ezmlm-weed:${PORTSDIR}/mail/ezmlm

WANT_QMAIL= yes

ALL_TARGET= it
INSTALL_TARGET= setup check

EZMLM_DIR?= ${LOCALBASE}

post-patch:
    @${REINPLACE_CMD} -e 's|02755|0755|g' ${WRKSRC}/hier.c

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_PREFIX}" > ${WRKSRC}/conf-qmail
    @${ECHO_CMD} "${EZMLM_DIR}/bin/ezmlm" > ${WRKSRC}/conf-ezmlm

.include <bsd.port.mk>