1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/sysutils/pv/Makefile
Ganael LAPLANCHE 67f7b41486 - Update to 1.4.6
- Convert Makefile header to new format
2013-03-28 07:52:33 +00:00

57 lines
1.1 KiB
Makefile

# Created by: Daniel Roethlisberger <daniel@roe.ch>
# $FreeBSD$
PORTNAME= pv
PORTVERSION= 1.4.6
CATEGORIES= sysutils
MASTER_SITES= http://www.ivarch.com/programs/sources/
MAINTAINER= martymac@FreeBSD.org
COMMENT= A pipe throughput monitor
LICENSE= ART20
CONFLICTS= waon-[0-9]*
PROJECTHOST= pipeviewer
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= pv.1
PLIST_FILES= bin/pv
PORTDOCS= README INSTALL NEWS PACKAGE \
TODO VERSION release-checklist
OPTIONS_DEFINE= NLS LFS
OPTIONS_DEFAULT= LFS
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MLFS}
CONFIGURE_ARGS+= --enable-lfs
.else
CONFIGURE_ARGS+= --disable-lfs
.endif
.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+= --enable-static-nls
.else
CONFIGURE_ARGS+= --disable-nls
.endif
post-patch:
@${CP} ${WRKSRC}/README ${WRKSRC}/doc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pv ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/doc/quickref.1 ${MAN1PREFIX}/man/man1/pv.1
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>