1996-04-09 09:02:07 +00:00
|
|
|
# New ports collection makefile for: xsysinfo
|
1998-10-06 23:56:21 +00:00
|
|
|
# Version required: 1.4a
|
1996-04-09 09:02:07 +00:00
|
|
|
# Date created: 4 April 1996
|
|
|
|
# Whom: jdli
|
|
|
|
#
|
1999-08-31 02:00:46 +00:00
|
|
|
# $FreeBSD$
|
1996-04-09 09:02:07 +00:00
|
|
|
#
|
|
|
|
|
1998-10-06 23:56:21 +00:00
|
|
|
DISTNAME= xsysinfo-1.4a
|
1996-11-17 08:06:46 +00:00
|
|
|
CATEGORIES= sysutils
|
1996-05-27 02:21:32 +00:00
|
|
|
MASTER_SITES= ftp://freebsd.csie.nctu.edu.tw/pub/jdli/source/
|
1996-04-09 09:02:07 +00:00
|
|
|
|
|
|
|
MAINTAINER= jdli@csie.nctu.edu.tw
|
|
|
|
|
|
|
|
USE_IMAKE= yes
|
1996-12-10 20:07:30 +00:00
|
|
|
MANCOMPRESSED= yes
|
|
|
|
MAN1= xsysinfo.1
|
1996-10-30 14:05:24 +00:00
|
|
|
|
1998-09-30 19:24:49 +00:00
|
|
|
pre-configure:
|
1998-10-09 10:01:32 +00:00
|
|
|
if [ -e /usr/lib/libdevstat.a -o -e /usr/lib/aout/libdevstat.a ]; then \
|
1998-09-30 19:24:49 +00:00
|
|
|
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
|
|
|
|
|
1996-04-09 09:02:07 +00:00
|
|
|
.include <bsd.port.mk>
|