summaryrefslogtreecommitdiff
path: root/sysutils/scsiinfo/Makefile
blob: 51a813c65ec1120a3f24ddd51f931b2b021e8e0c (plain)
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
# $NetBSD: Makefile,v 1.3 2003/07/21 17:24:34 martti Exp $

DISTNAME=	scsiinfo-4.7
PKGNAME=	${DISTNAME}
CATEGORIES=	sysutils
MASTER_SITES=	http://www.cs.toronto.edu/pub/jdd/scsiinfo/
EXTRACT_SUFX=	.shar

MAINTAINER=	grant@NetBSD.org
HOMEPAGE=	${MASTER_SITES}
COMMENT=	Displays information about SCSI devices attached to a system

ONLY_FOR_PLATFORM=	SunOS-*-*

do-extract:
	${MKDIR} ${WRKSRC}; cd ${WRKSRC}; \
	${SH} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} >/dev/null

pre-build:
	cd ${WRKSRC}; ./mkadapters esp isp fas glm ptisp pln > adapters

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/scsiinfo ${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/scsiinfo.1 ${PREFIX}/man/man1

.include "../../mk/bsd.pkg.mk"