aboutsummaryrefslogtreecommitdiffstats
path: root/misc/buffer/Makefile
blob: f589fbf7a6c44d7cb6d454c0500a962836195352 (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
# Created by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
# $FreeBSD$

PORTNAME=   buffer
PORTVERSION=    1.19
CATEGORIES= misc
MASTER_SITES=   GENTOO \
        http://www.mondorescue.org/download/MondoCD/TGZS/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Buffer sporadic I/O for faster tape and pipe throughput

USES=       tar:tgz
PLIST_FILES=    bin/buffer \
        man/man1/buffer.1.gz

post-patch:
    @${REINPLACE_CMD} -E \
        -e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \
        -e 's|^(CFLAGS[[:space:]]*=).*$$|\1${CFLAGS}|' \
        -e 's|^(INSTBIN[[:space:]]*=).*$$|\1${STAGEDIR}${PREFIX}/bin|' \
        -e 's|^(INSTMAN[[:space:]]*=).*$$|\1${STAGEDIR}${MAN1PREFIX}/man/man1|' \
        ${WRKSRC}/Makefile

.include <bsd.port.mk>