blob: bba4ce86b3dcd61248332ff6571ceda1a2dad596 (
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
|
# New ports collection makefile for: sysutils/xdd
# Date created: 29.05.2006
# Whom: Gerhard Gonter <g.gonter@ieee.org>
#
# $FreeBSD$
#
PORTNAME= xdd
PORTVERSION= 65
CATEGORIES= sysutils
MASTER_SITES= http://www.ioperformance.com/xddversions/
DISTNAME= xdd65.013007
EXTRACT_SUFX= .tgz
MAINTAINER= g.gonter@ieee.org
COMMENT= Tool for measuring and characterizing disk subsystem I/O
WRKSRC= ${WRKDIR}/${DISTNAME}
PLIST_FILES= bin/xdd bin/timeserver bin/gettime
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.(c|cpp|h)
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Doesn't build on 4.x
.endif
post-extract:
${CP} ${FILESDIR}/freebsd.makefile ${WRKSRC}
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f freebsd.makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/xdd.freebsd ${PREFIX}/bin/xdd
${INSTALL_PROGRAM} ${WRKSRC}/bin/timeserver.freebsd ${PREFIX}/bin/timeserver
${INSTALL_PROGRAM} ${WRKSRC}/bin/gettime.freebsd ${PREFIX}/bin/gettime
.include <bsd.port.post.mk>
|