blob: 7ab6bae18cee4615c6ac659e69e39e5fc237796a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# New ports collection makefile for: pv
# Date created: 04 May 2004
# Whom: Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
#
PORTNAME= pv
PORTVERSION= 1.4.0
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>
|