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

PORTNAME=   buffer
PORTVERSION=    1.19
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_GENTOO} \
        http://www.mondorescue.org/download/MondoCD/TGZS/
MASTER_SITE_SUBDIR= distfiles
EXTRACT_SUFX=   .tgz

MAINTAINER= jonny@jonny.eng.br
COMMENT=    Buffer sporadic I/O for faster tape and pipe throughput

MAN1=       buffer.1
PLIST_FILES=    bin/buffer

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

.include <bsd.port.mk>