mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
cf3fc455de
The patches are now part of the tarball and have been deleted from the patch directory. Version 1.4a now includes the libdevstat patches, which were formerly patch-ad. Tested under -current (with CAM) successfully. PR: ports/8167 Submitted by: Jian-Da Li (the maintainer)
28 lines
658 B
Makefile
28 lines
658 B
Makefile
# New ports collection makefile for: xsysinfo
|
|
# Version required: 1.4a
|
|
# Date created: 4 April 1996
|
|
# Whom: jdli
|
|
#
|
|
# $Id: Makefile,v 1.7 1998/09/30 19:24:49 gj Exp $
|
|
#
|
|
|
|
DISTNAME= xsysinfo-1.4a
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://freebsd.csie.nctu.edu.tw/pub/jdli/source/
|
|
|
|
MAINTAINER= jdli@csie.nctu.edu.tw
|
|
|
|
USE_IMAKE= yes
|
|
MANCOMPRESSED= yes
|
|
MAN1= xsysinfo.1
|
|
|
|
pre-configure:
|
|
if [ -e /usr/lib/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>
|