1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/mail/pfqueue/Makefile
Marcus Alves Grando 62b5ee6bea - Fix name on load shared lib.
- Bump PORTREVISION

Submitted by:	Anton Yuzhaninov <citrin@citrin.ru>
Approved by:	portmgr (clement)
2006-02-23 18:54:49 +00:00

32 lines
802 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.2
PORTREVISION= 2
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
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= pfqueue.1
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>