aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xosview/Makefile
blob: 4d610a2cd30653271cd22e4eb5244fbeb63bd08f (plain) (blame)
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
# ex:ts=8
# Ports collection makefile for:  xosview
# Date created:			  19 Nov 1997
# Whom:				  Brian Handy <handy@physics.montana.edu>
#
# $FreeBSD$
#

PORTNAME=	xosview
PORTVERSION=	1.8.3
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	clsung@FreeBSD.org
COMMENT=	A graphical performance meter

USE_X_PREFIX=	yes
GNU_CONFIGURE=	yes
MAN1=		xosview.1

.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e 's,iostream.h,iostream,' \
		${WRKSRC}/xwin.h \
		${WRKSRC}/Host.h \
		${WRKSRC}/Xrm.cc \
		${WRKSRC}/llist.cc \
		${WRKSRC}/timeval.h \
		${WRKSRC}/xosview.cc
	@${REINPLACE_CMD} -e 's,string.h,string,' \
		${WRKSRC}/xwin.h \
		${WRKSRC}/Host.cc \
		${WRKSRC}/Xrm.cc \
		${WRKSRC}/llist.cc \
		${WRKSRC}/timeval.h \
		${WRKSRC}/xosview.cc
	@${REINPLACE_CMD} -e 's,fstream.h,fstream,' \
		${WRKSRC}/bitfieldmeter.cc \
		${WRKSRC}/fieldmeter.cc \
		${WRKSRC}/fieldmeterdecay.cc \
		${WRKSRC}/fieldmetergraph.cc
	@${REINPLACE_CMD} -e 's,-O4,,' \
		${WRKSRC}/configure
	@${REINPLACE_CMD} -e 's,/share/man,/man,' \
		${WRKSRC}/config/Makefile.top.in

.include <bsd.port.post.mk>