summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorjlam <jlam>2005-06-12 04:03:30 +0000
committerjlam <jlam>2005-06-12 04:03:30 +0000
commitb8eecddb6837e09ae3e15ae98d9925ee27c9664d (patch)
treecdd74d2df6bbe5f1c84e107d5bbbc8cc68e7241f /benchmarks
parent9b0932012d7c7f630ca8f2de73311e9e3b6895a1 (diff)
downloadpkgsrc-b8eecddb6837e09ae3e15ae98d9925ee27c9664d.tar.gz
Remove the need to archivers/gsharutils at build-time to extract the
distfiles. This fixes PR pkg/29877.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/xengine/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/benchmarks/xengine/Makefile b/benchmarks/xengine/Makefile
index 65dbb37b8dd..788480e50c7 100644
--- a/benchmarks/xengine/Makefile
+++ b/benchmarks/xengine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2005/03/24 21:12:51 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2005/06/12 04:03:30 jlam Exp $
DISTNAME= xengine-1.0.1
PKGREVISION= 1
@@ -6,23 +6,24 @@ 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
+PATCHFILES= # no ${PATCHFILES} but runs "do-distribution-patch"
+PATCH_DIST_STRIP= -p1
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
+PKGSRC_USE_TOOLS+= gzcat patch sed
+
+EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SED} "1,/\#!/d" | ${SH}
-pre-patch:
- @cd ${WRKSRC} ; ${PATCH} ${PATCH_DIST_ARGS} < xengine.patch1
+do-distribution-patch:
+ @cd ${WRKSRC}; ${PATCH} ${PATCH_DIST_ARGS} < xengine.patch1
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xengine