2005-12-05 21:49:47 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2005/12/05 20:51:01 rillig Exp $
|
2002-08-20 17:45:04 +02:00
|
|
|
|
|
|
|
DISTNAME= scsiinfo-4.7
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.cs.toronto.edu/pub/jdd/scsiinfo/
|
|
|
|
EXTRACT_SUFX= .shar
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= grant@NetBSD.org
|
2002-08-20 17:45:04 +02:00
|
|
|
HOMEPAGE= ${MASTER_SITES}
|
2003-07-21 19:24:16 +02:00
|
|
|
COMMENT= Displays information about SCSI devices attached to a system
|
2002-08-20 17:45:04 +02:00
|
|
|
|
2004-06-10 11:34:52 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
|
2002-08-20 17:45:04 +02:00
|
|
|
ONLY_FOR_PLATFORM= SunOS-*-*
|
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= man/man1 sbin
|
|
|
|
|
2002-08-20 17:45:04 +02:00
|
|
|
do-extract:
|
2004-06-10 11:34:52 +02:00
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${SH} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} >/dev/null
|
2002-08-20 17:45:04 +02:00
|
|
|
|
|
|
|
pre-build:
|
2004-06-10 11:34:52 +02:00
|
|
|
cd ${WRKSRC} && ./mkadapters esp isp fas glm ptisp pln > adapters
|
2002-08-20 17:45:04 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/scsiinfo ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/scsiinfo.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|