2012-10-23 21:50:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2012/10/23 19:51:23 asau 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
|
|
|
|
|
2010-03-21 17:29:38 +01:00
|
|
|
MAINTAINER= pkgsrc-users@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-*-*
|
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1 sbin
|
2005-06-17 05:50:19 +02:00
|
|
|
|
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:
|
2010-01-27 20:51:55 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/scsiinfo ${DESTDIR}${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/scsiinfo.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2002-08-20 17:45:04 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|