aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xsysinfo/Makefile
blob: 5cc436c182e4eb2f88affbba7f6ac8cdd0be2b12 (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
# 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

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.mk>