summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>2000-04-03 15:55:23 +0000
committersakamoto <sakamoto@pkgsrc.org>2000-04-03 15:55:23 +0000
commit4e1795ba5bdee6b3ec1ac88d51a8333e6e167062 (patch)
tree5eeb89fbb42d92005663abdadb28a33d8198d8d6 /benchmarks
parentc8e9c759ef8dd48a93833e191390a07d8820ae42 (diff)
downloadpkgsrc-4e1795ba5bdee6b3ec1ac88d51a8333e6e167062.tar.gz
Adapt this package to NetBSD.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/xengine/Makefile25
-rw-r--r--benchmarks/xengine/files/md52
-rw-r--r--benchmarks/xengine/files/patch-sum3
-rw-r--r--benchmarks/xengine/patches/patch-aa2
-rw-r--r--benchmarks/xengine/pkg/PLIST1
5 files changed, 15 insertions, 18 deletions
diff --git a/benchmarks/xengine/Makefile b/benchmarks/xengine/Makefile
index 992f25fb1d6..4209b30651c 100644
--- a/benchmarks/xengine/Makefile
+++ b/benchmarks/xengine/Makefile
@@ -1,10 +1,5 @@
-# New ports collection makefile for: xengine
-# Version required: pl1
-# Date created: 17 January 1997
-# Whom: FURUSAWA,Kazuhisa <furusawa@com.cs.osakafu-u.ac.jp>
-#
-# $FreeBSD: ports/benchmarks/xengine/Makefile,v 1.9 2000/02/02 22:31:24 mharo Exp $
-#
+# $NetBSD: Makefile,v 1.2 2000/04/03 15:55:23 sakamoto Exp $
+# FreeBSD Id: ports/benchmarks/xengine/Makefile,v 1.9 2000/02/02 22:31:24 mharo Exp
DISTNAME= xengine-1.0.1
CATEGORIES= benchmarks
@@ -13,31 +8,25 @@ DISTFILES= part01.z patch1.z
PATCH_DIST_STRIP= -p1 # no ${PATCHFILES} but used below
-MAINTAINER= kazu@jp.freebsd.org
+MAINTAINER= sakamoto@netbsd.org
-BUILD_DEPENDS= gunshar:${PORTSDIR}/archivers/gshar+gunshar
+BUILD_DEPENDS= gunshar:../../archivers/gsharutils
DIST_SUBDIR= xengine
NO_WRKSUBDIR= yes
USE_IMAKE= yes
-EXTRACT_CMD= zcat
-EXTRACT_BEFORE_ARGS= #empty
-EXTRACT_AFTER_ARGS= | gunshar -d $(WRKDIR)
-
-MAN1= xengine.1
+EXTRACT_CMD= zcat ${DOWNLOADED_DISTFILE} | gunshar
pre-patch:
- @cd $(WRKSRC) ; ${PATCH} ${PATCH_DIST_ARGS} < xengine.patch1
+ @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>
+.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/xengine/files/md5 b/benchmarks/xengine/files/md5
index 3e30bf7b45c..872c7f0bb17 100644
--- a/benchmarks/xengine/files/md5
+++ b/benchmarks/xengine/files/md5
@@ -1,2 +1,4 @@
+$NetBSD: md5,v 1.2 2000/04/03 15:55:23 sakamoto Exp $
+
MD5 (xengine/part01.z) = 9ea60511319318b905e6da2604ef35e9
MD5 (xengine/patch1.z) = 1dc52c711280c0f2567fdf43264e728c
diff --git a/benchmarks/xengine/files/patch-sum b/benchmarks/xengine/files/patch-sum
new file mode 100644
index 00000000000..dcf2c1f7a4a
--- /dev/null
+++ b/benchmarks/xengine/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1 2000/04/03 15:55:23 sakamoto Exp $
+
+MD5 (patch-aa) = 72193c3af49d449a3ffe861835354657
diff --git a/benchmarks/xengine/patches/patch-aa b/benchmarks/xengine/patches/patch-aa
index 78fbbdfb03d..d13bdc44072 100644
--- a/benchmarks/xengine/patches/patch-aa
+++ b/benchmarks/xengine/patches/patch-aa
@@ -1,3 +1,5 @@
+$NetBSD: patch-aa,v 1.2 2000/04/03 15:55:23 sakamoto Exp $
+
*** xengine.c~ Wed Oct 3 10:58:17 1990
--- xengine.c Sun Dec 8 22:17:43 1996
***************
diff --git a/benchmarks/xengine/pkg/PLIST b/benchmarks/xengine/pkg/PLIST
index 400ae3097b7..7fc51499364 100644
--- a/benchmarks/xengine/pkg/PLIST
+++ b/benchmarks/xengine/pkg/PLIST
@@ -1,3 +1,4 @@
+@comment $NetBSD: PLIST,v 1.2 2000/04/03 15:55:23 sakamoto Exp $
bin/xengine
share/doc/xengine/README
@dirrm share/doc/xengine