aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mbuffer/Makefile
blob: 9e0ca2cedbcc562ea8e8e3e6ead9d17528b4a5cd (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
# New ports collection makefile for:    mbuffer
# Date created:             Dec 14 2006
# Whom:                 Rong-En Fan <rafan@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mbuffer
PORTVERSION=    2010.12.30
CATEGORIES= misc
MASTER_SITES=   http://www.maier-komor.de/software/mbuffer/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.//g}
EXTRACT_SUFX=   .tgz

MAINTAINER= rafan@FreeBSD.org
COMMENT=    A tool for buffering data streams

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
MAKE_ARGS=  SHELL=${SH}

PLIST_FILES=    bin/mbuffer

MAN1=       ${PORTNAME}.1

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' ${WRKSRC}/configure

.include <bsd.port.post.mk>