aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dt/Makefile
blob: 7e409f35cb3ecdc8ed9292d5dac9022252e08d02 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:    dt
# Date created:                 14 Jan 2004
# Whom:                         Radim Kolar
#
# $FreeBSD$
#
# $Tecnik: ports/sysutils/dt/Makefile,v 1.3 2005/12/12 19:58:36 itetcu Exp $
#

PORTNAME=   dt
PORTVERSION=    17.07
CATEGORIES= sysutils
MASTER_SITES=   http://home.comcast.net/~SCSIguy/SCSI_FAQ/RMiller_Tools/ftp/dt/ \
        http://T32.TecNik93.com/FreeBSD/ports/dt/sources/
DISTNAME=   ${PORTNAME}-source

MAINTAINER= itetcu@FreeBSD.org
COMMENT=    Data Test Program - disk/tape error diagnostic tool

WRKSRC=     ${WRKDIR}/dt.d
MAKEFILE=   Makefile.freebsd
ALL_TARGET= dt
LICENSE=    BSD

PORTDOCS=   README.1st ToDoList WhatsNew-* dt-UsersGuide.pdf dt-Overview.txt

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/dt ${PREFIX}/sbin
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/data/pattern_* ${DATADIR}
    ${MKDIR} ${EXAMPLESDIR}
.for script in DiskTests.ksh butterfly.ksh butterfly_file.ksh dt_noprog_script.ksh \
    dta dtc dtf dtr dts dtt dtw trigger-AIX.ksh
    ${INSTALL_SCRIPT} ${WRKSRC}/Scripts/${script} ${EXAMPLESDIR}
.endfor
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.1st ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/ToDoList ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/WhatsNewFiles/WhatsNew-* ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Documentation/dt-UsersGuide.pdf ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Documentation/dt.help ${DOCSDIR}/dt-Overview.txt
.endif

.include <bsd.port.mk>