freebsd-ports/sysutils/xsysinfo/Makefile
Kris Kennaway 93872f18cc Move inclusion of bsd.port.pre.mk later in the file for conditional BROKEN
tag.  Early inclusion caused problems for some ports, so to be safe I'm
updating all of them.

Pointy hat to:	kris
2003-06-04 22:43:38 +00:00

34 lines
786 B
Makefile

# New ports collection makefile for: xsysinfo
# Date created: 4 April 1996
# Whom: jdli
#
# $FreeBSD$
#
PORTNAME= xsysinfo
PORTVERSION= 1.4a
CATEGORIES= sysutils
MASTER_SITES= ftp://freebsd.csie.nctu.edu.tw/pub/jdli/source/
MAINTAINER= jdli@csie.nctu.edu.tw
COMMENT= A system information display tool
USE_IMAKE= yes
MANCOMPRESSED= yes
MAN1= xsysinfo.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
.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:DEFINES =:DEFINES = -DHAVE_DEVSTAT:" Imakefile.in > Imakefile.i1 ; \
${SED} -e "s:-lkvm:-lkvm -ldevstat:" Imakefile.i1 > Imakefile ; \
fi
.include <bsd.port.post.mk>