d82c11ef53
peripherals, file systems, device drivers, or any data stream supported by the operating system. In its' simplest mode of operation, dt writes and then verifys its' default data pattern, then displays performance statisics and other test parameters before exiting. Since verification of data is performed, dt can be thought of as a generic diagnostic tool. WWW: http://www.bit-net.com/~rmiller/dt.html PR: ports/61801 Submitted by: Radim Kolar <hsn@netmag.cz>
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# New ports collection makefile for: dt
|
|
# Date created: 14 Jan 2004
|
|
# Whom: Radim Kolar
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dt
|
|
PORTVERSION= 14.33
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.bit-net.com/~rmiller/ftp/dt/
|
|
DISTNAME= dt-source
|
|
|
|
MAINTAINER= hsn@netmag.cz
|
|
COMMENT= Data Test Program - disk/tape error diagnostic tool
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/dt.d
|
|
ALL_TARGET= dt
|
|
|
|
PORTDOCS= README.1st ToDoList WhatsNew-* dt-UsersGuide.txt dt-Overview.txt
|
|
|
|
post-patch:
|
|
@${CP} ${WRKSRC}/Makefile.freebsd ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dt ${PREFIX}/sbin
|
|
${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/pattern_* ${DATADIR}
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dta ${WRKSRC}/dtc ${WRKSRC}/dtf ${WRKSRC}/dtr ${WRKSRC}/dts ${WRKSRC}/dtt ${WRKSRC}/dtw ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/MakeTestDisc ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.1st ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ToDoList ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/WhatsNew-* ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/dt-UsersGuide.txt ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/dt.help ${DOCSDIR}/dt-Overview.txt
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|