diff --git a/misc/buffer/Makefile b/misc/buffer/Makefile index ae0f4cdeeadb..e04fafd42ec7 100644 --- a/misc/buffer/Makefile +++ b/misc/buffer/Makefile @@ -1,23 +1,20 @@ PORTNAME= buffer PORTVERSION= 1.19 +PORTREVISION= 1 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 + share/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 +MAKE_ARGS= CC="${CC}" \ + CFLAGS="${CFLAGS}" \ + INSTBIN="${STAGEDIR}${PREFIX}/bin" \ + INSTMAN="${STAGEDIR}${PREFIX}/share/man/man1" .include