aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qtools/Makefile
blob: 9a6f2739b41f4cbbba659abcae5ba4c00db7a55f (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
# Created by: petef@FreeBSD.org
# $FreeBSD$

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

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

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

USES=       qmail:vars
NO_STAGE=   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>