1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/sysutils/pv/Makefile
Ganael LAPLANCHE 49ff947afe - Update to 1.2.0
- Update MASTER_SITES, now hosted on Google code
- Takeover maintainership
- Add missing LICENSE
- Cleanup docs handling and remove useless COPYING file

Approved by:	ehaupt (mentor)
2011-01-04 08:50:22 +00:00

59 lines
1.2 KiB
Makefile

# New ports collection makefile for: pv
# Date created: 04 May 2004
# Whom: Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
#
PORTNAME= pv
PORTVERSION= 1.2.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
SF/${PROJECTHOST}/${PROJECTHOST}/${PORTVERSION}
MAINTAINER= martymac@FreeBSD.org
COMMENT= A pipe throughput monitor
PROJECTHOST= pipeviewer
LICENSE= ART20
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= LFS "Use large filesystem support" on \
NLS "Use Native Language Support" off
.include <bsd.port.pre.mk>
.if defined(WITHOUT_LFS)
CONFIGURE_ARGS+= --disable-lfs
.endif
.if defined(WITH_NLS)
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 !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
.endfor
.endif
test:
cd ${WRKSRC} && make test
.include <bsd.port.post.mk>