summaryrefslogtreecommitdiff
path: root/benchmarks/xengine/Makefile
blob: f7ad4a880190f03e8d3f7e169db7ff0abcd12494 (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
# New ports collection makefile for:	xengine
# Date created:		17 January 1997
# Whom:			FURUSAWA,Kazuhisa <furusawa@com.cs.osakafu-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	xengine
PORTVERSION=	1.0.1
CATEGORIES=	benchmarks
MASTER_SITES=	ftp://ftp.sunsite.org.uk/usenet/comp.sources.x/volume9/xengine/
DISTFILES=	part01.gz patch1.gz

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

MAINTAINER=	kazu@jp.freebsd.org
COMMENT=	Reciprocating engine for X

EXTRACT_DEPENDS=	gunshar:${PORTSDIR}/archivers/sharutils

DIST_SUBDIR=	xengine
NO_WRKSUBDIR=	yes
USE_IMAKE=	yes

EXTRACT_CMD=		gzcat
EXTRACT_BEFORE_ARGS=	#empty
EXTRACT_AFTER_ARGS=	| gunshar -d $(WRKDIR)

MAN1=		xengine.1

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

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/xengine
	@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/xengine
.endif
	@${ECHO} ""
	@${ECHO} "Example value:"
	@${ECHO} "   1067 RPMs with P100, Winner 2000PRO/X, resolution: 1152x900"
	@${ECHO} ""

.include <bsd.port.mk>