aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pfqueue/Makefile
blob: f6c5024927fd67ba6bb0c74cc6bed3f2ec76a24d (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
# New ports collection makefile for:    pfqueue
# Date created:             13 Jan 2004
# Whom:                 Marcus Alves Grando <mnag@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pfqueue
PORTVERSION=    0.5.6
CATEGORIES= mail
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Console-based tool for handling Postfix 1, Postfix 2, and Exim queues

USE_AUTOTOOLS=  libtool
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CPPFLAGS+=  ${PTHREAD_CFLAGS}

MAN1=       pfqueue.1
MAN5=       pfqueue.conf.5

post-patch:
    @${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" \
        -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|PFQ_SONAME "0.0.0"|PFQ_SONAME "0"|' \
        ${WRKSRC}/libpfq/pfqlib.c

.include <bsd.port.mk>