mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
26 lines
690 B
Makefile
26 lines
690 B
Makefile
# Created by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
|
|
|
|
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
|
|
CFLAGS+= -D_WANT_SEMUN
|
|
|
|
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>
|