diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-12 04:03:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-12 04:03:30 +0000 |
commit | c97f8417a880c5c4f2f503cb412b015cc5ba9daf (patch) | |
tree | cdd74d2df6bbe5f1c84e107d5bbbc8cc68e7241f /benchmarks | |
parent | 55c85320ca3e54049dbc8ca91f2dbf56efde38f6 (diff) | |
download | pkgsrc-c97f8417a880c5c4f2f503cb412b015cc5ba9daf.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/Makefile | 15 |
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 |