summaryrefslogtreecommitdiff
path: root/benchmarks/xengine/Makefile
blob: b44f0509167dd2abf00e0edd7102aaac82328efd (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
# $NetBSD: Makefile,v 1.12 2004/07/30 15:50:38 minskim Exp $
# FreeBSD Id: ports/benchmarks/xengine/Makefile,v 1.9 2000/02/02 22:31:24 mharo Exp

DISTNAME=	xengine-1.0.1
PKGREVISION=	1
CATEGORIES=	benchmarks
MASTER_SITES=	ftp://ftp.lab.kdd.co.jp/Usenet/comp.sources.x/volume09/xengine/
DISTFILES=	part01.z patch1.z

PATCH_DIST_STRIP=	-p1	# no ${PATCHFILES} but used below

MAINTAINER=	sakamoto@NetBSD.org
COMMENT=	Reciprocating engine for X

BUILD_DEPENDS=	gsharutils>=4.2.1:../../archivers/gsharutils

PKG_INSTALLATION_TYPES=	overwrite pkgviews

WRKSRC=		${WRKDIR}
DIST_SUBDIR=	xengine
USE_IMAKE=	yes

EXTRACT_CMD=	zcat ${DOWNLOADED_DISTFILE} | gunshar

pre-patch:
	@cd ${WRKSRC} ; ${PATCH} ${PATCH_DIST_ARGS} < xengine.patch1

post-install:
	@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xengine
	@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xengine
	@${ECHO} ""
	@${ECHO} "Example value:"
	@${ECHO} "   1067 RPMs with P100, Winner 2000PRO/X, resolution: 1152x900"
	@${ECHO} ""

.include "../../mk/bsd.pkg.mk"