This commit is contained in:
joey 1997-11-27 18:00:19 +00:00
parent 1e89d84fb8
commit f4971ba109
6 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,40 @@
# OpenBSD makefile for: xengine
# Version required: pl1
# Date created: Nov 27 1997
# Whom: ejovi
#
# $OpenBSD: Makefile,v 1.1.1.1 1997/11/27 18:00:19 joey Exp $
#
PKGNAME= xengine-1.0.1
CATEGORIES= benchmarks x11
MASTER_SITES= ftp://ftp.lab.kdd.co.jp/Usenet/comp.sources.x/volume09/xengine/
DISTFILES= part01.z patch1.z
MAINTAINER= joey@OpenBSD.ORG
BUILD_DEPENDS= gunshar:${PORTSDIR}/archivers/gshar+gunshar
DIST_SUBDIR= xengine
NO_WRKSUBDIR= yes
USE_IMAKE= yes
EXTRACT_CMD= zcat
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= | gunshar -d $(WRKDIR)
PATCH_DIST_STRIP= -p1 # no ${PATCHFILES} but used below
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>

View File

@ -0,0 +1,2 @@
MD5 (xengine/part01.z) = 9ea60511319318b905e6da2604ef35e9
MD5 (xengine/patch1.z) = 1dc52c711280c0f2567fdf43264e728c

View File

@ -0,0 +1,26 @@
*** xengine.c~ Wed Oct 3 10:58:17 1990
--- xengine.c Sun Dec 8 22:17:43 1996
***************
*** 180,191 ****
Arg args[10];
! XtSetArg(args[0], XtNwidth, 0);
! XtSetArg(args[1], XtNheight, 0);
XtGetValues(w, args, 2);
-
- width = args[0].value;
- height = args[1].value;
XFreePixmap(XtDisplay(engine), enginePixmap);
enginePixmap = XCreatePixmap(XtDisplay(engine), XtWindow(engine), width, height, DefaultDepthOfScreen(XtScreen(engine)));
--- 180,188 ----
Arg args[10];
! XtSetArg(args[0], XtNwidth, &width);
! XtSetArg(args[1], XtNheight, &height);
XtGetValues(w, args, 2);
XFreePixmap(XtDisplay(engine), enginePixmap);
enginePixmap = XCreatePixmap(XtDisplay(engine), XtWindow(engine), width, height, DefaultDepthOfScreen(XtScreen(engine)));

View File

@ -0,0 +1 @@
reciprocating engine for X

View File

@ -0,0 +1,7 @@
`xengine' is a reciprocating engine for X. This program used as
benchmark for X.
See README and man page for details.
Orignal xengine written by shutoh@cbx.emi.yamaha.co.jp.
This port is done by furusawa@com.cs.osakafu-u.ac.jp.

View File

@ -0,0 +1,3 @@
bin/xengine
share/doc/xengine/README
man/man1/xengine.1.gz