summaryrefslogtreecommitdiff
path: root/sysutils/iogen/Makefile
blob: 566394b4e86430cc09081e3093050af645cd0693 (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
# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
# $FreeBSD$

PORTNAME=	iogen
PORTVERSION=	3.1p0
CATEGORIES=	sysutils
MASTER_SITES=	http://www.peereboom.us/iogen/
DISTNAME=	${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	skreuzer@FreeBSD.org
COMMENT=	Lightweight tool to generate heavily fragmented I/O

MAN8=		iogen.8
PLIST_FILES=	bin/iogen

WRKSRC=		${WRKDIR}/${DISTNAME}/src

NO_STAGE=	yes
do-build:
	cd ${WRKSRC}; \
	${CC} ${CFLAGS} -DVERSION=\"${PORTVERSION}\" iogen.c -o iogen

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/iogen ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/iogen.8 ${MANPREFIX}/man/man8

.include <bsd.port.mk>