1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/sysutils/xperfmon/Makefile
Lars Koeller 748dea14ee Stop supporting xperfmon v2.0 for 5.X systems.
The successor is xperfmon3 in the ports collection, which
is further maintaned and improved by myself.

Submitted by: Automated ports building system.
2001-03-16 19:55:27 +00:00

38 lines
1005 B
Makefile

# New ports collection makefile for: xperfmon++
# Date created: 14 March 97
# Whom: Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
#
# $FreeBSD$
#
PORTNAME= xperfmon++
PORTVERSION= 2.0
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.uni-bielefeld.de/pub/systems/FreeBSD/lkoeller/ \
ftp://ftp.u-aizu.ac.jp/pub/misc/tools/xperfmon/ \
ftp://ftp.ibank.ru/pub/unix_src/benchmarks/
DISTNAME= xperfmon++v1.1
EXTRACT_SUFX= .tar.Z
MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
USE_IMAKE= yes
MAN1= xperfmon++.1
WRKSRC= ${WRKDIR}/xperfmon++
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
BROKEN= "5.X or newer systems should use xperfmon3"
.endif
pre-configure:
if [ -e /usr/lib/libdevstat.a -o -e /usr/lib/aout/libdevstat.a ]; then \
cd ${WRKSRC} ; \
${MV} Imakefile Imakefile.in ; \
${SED} -e "s:EXTRA_DEFINES=:EXTRA_DEFINES= -DHAVE_DEVSTAT:" Imakefile.in > Imakefile.i1 ; \
${SED} -e "s:FreeBSDFLAGS=:FreeBSDFLAGS= -ldevstat:" Imakefile.i1 > Imakefile ; \
fi
.include <bsd.port.post.mk>