mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
cf23a36836
PR: 109578 (based on) Submitted by: Richard Tector<richardtector___thekeelecentre.com>
34 lines
874 B
Makefile
34 lines
874 B
Makefile
# 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= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= mnag@FreeBSD.org
|
|
COMMENT= A console-based tool for handling Postfix 1, Postfix 2 and Exim queues
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}"
|
|
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
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>
|