summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-07-12 09:05:19 +0000
committerwiz <wiz@pkgsrc.org>2006-07-12 09:05:19 +0000
commitfad72dcd2c87d4740109121b57ac46da1aeac3a6 (patch)
tree1b8b12e40081f958903fd956501b7bea95bdd021 /benchmarks
parent749623ad56b79a5470c41164c9c7d2743e03d466 (diff)
downloadpkgsrc-fad72dcd2c87d4740109121b57ac46da1aeac3a6.tar.gz
Fix some pkglint warnings.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/xengine/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/benchmarks/xengine/Makefile b/benchmarks/xengine/Makefile
index c9dfe323e95..87702331459 100644
--- a/benchmarks/xengine/Makefile
+++ b/benchmarks/xengine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2006/02/05 23:08:20 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2006/07/12 09:05:19 wiz Exp $
DISTNAME= xengine-1.0.1
PKGREVISION= 3
@@ -6,9 +6,6 @@ CATEGORIES= benchmarks
MASTER_SITES= ftp://ftp.lab.kdd.co.jp/Usenet/comp.sources.x/volume09/xengine/
DISTFILES= part01.z patch1.z
-PATCHFILES= # no ${PATCHFILES} but runs "do-distribution-patch"
-PATCH_DIST_STRIP= -p1
-
MAINTAINER= sakamoto@NetBSD.org
COMMENT= Reciprocating engine for X
@@ -17,17 +14,18 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
DIST_SUBDIR= xengine
USE_IMAKE= yes
+PATCH_DIST_STRIP= -p1
USE_TOOLS+= gzcat patch sed
-EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SED} "1,/\#!/d" | ${SH}
+EXTRACT_CMD= ${GZCAT} $$extract_file | ${SED} "1,/\#!/d" | ${SH}
-do-distribution-patch:
- @cd ${WRKSRC}; ${PATCH} ${PATCH_DIST_ARGS} < xengine.patch1
+pre-configure:
+ 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
+ ${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"