summaryrefslogtreecommitdiffstats
path: root/sysutils/dt/Makefile
blob: 4913e91e11efd7572f748a6b4c3c565f722e7d61 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    dt
# Date created:         		14 Jan 2004
# Whom:                 		Radim Kolar
#
# $FreeBSD$
#

PORTNAME=	dt
PORTVERSION=	15.6
CATEGORIES=	sysutils
MASTER_SITES=	http://www.bit-net.com/~rmiller/ftp/dt/
DISTNAME=	dt-source

MAINTAINER=	ports@freebsd.org
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>
OpenPOWER on IntegriCloud