1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/sysutils/pv/Makefile
Marcelo Araujo e5b80ccc29 - Update to 1.1.0.
- Use SF macro.

PR:		ports/119760
Submitted by:	Felippe de Meirelles Motta <lippemail@gmail.com>
Reworked by:	araujo (myself)
Approved by:	stas (mentor, implicit), maintainer timeout (> 2 weeks)
2008-02-07 00:39:58 +00:00

62 lines
1.3 KiB
Makefile

# New ports collection makefile for: pv
# Date created: 04 May 2004
# Whom: Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
#
PORTNAME= pv
PORTVERSION= 1.1.0
CATEGORIES= sysutils
MASTER_SITES= SF
MASTER_SITE_SUBDIR= pipeviewer
MAINTAINER= daniel@roe.ch
COMMENT= A pipe throughput monitor
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= pv.1
PLIST_FILES= bin/pv
PORTDOCS= README COPYING INSTALL NEWS PACKAGE \
TODO VERSION release-checklist
OPTIONS= DEBUG "Enable debug support" off \
PROFILER "Enable profiling support" off \
LFS "Enable LFS support" on \
NLS "Use Native Language Support" off
.include <bsd.port.pre.mk>
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debugging
.endif
.if defined(WITH_PROFILER)
CONFIGURE_ARGS+= --enable-profiling
.endif
.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}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/
.endif
test:
cd ${WRKSRC} && make test
.include <bsd.port.post.mk>