2829e658f2
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
29 lines
733 B
Makefile
29 lines
733 B
Makefile
# $NetBSD: Makefile,v 1.7 2007/01/07 09:14:12 rillig Exp $
|
|
|
|
DISTNAME= scsiinfo-4.7
|
|
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
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
ONLY_FOR_PLATFORM= SunOS-*-*
|
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1 sbin
|
|
|
|
do-extract:
|
|
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}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|