summaryrefslogtreecommitdiff
path: root/benchmarks/xengine
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-08 14:28:28 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-08 14:28:28 +0000
commitf31a8c080237f45c856a9a6bd0d2c8a1c240483e (patch)
tree66da7a8354fce63dc0c819388162ea786c2cc158 /benchmarks/xengine
parent832963dbeacaf4147c214dfce50a397e7debabae (diff)
downloadpkgsrc-f31a8c080237f45c856a9a6bd0d2c8a1c240483e.tar.gz
user-destdir support
Diffstat (limited to 'benchmarks/xengine')
-rw-r--r--benchmarks/xengine/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/benchmarks/xengine/Makefile b/benchmarks/xengine/Makefile
index 19c600d94eb..700609c4d69 100644
--- a/benchmarks/xengine/Makefile
+++ b/benchmarks/xengine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2009/05/16 21:12:17 zafer Exp $
+# $NetBSD: Makefile,v 1.24 2009/07/08 14:38:28 joerg Exp $
DISTNAME= xengine-1.0.1
PKGREVISION= 4
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Reciprocating engine for X
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
DIST_SUBDIR= xengine
@@ -23,9 +24,10 @@ EXTRACT_CMD= ${GZCAT} $$extract_file | ${SED} "1,/\#!/d" | ${SH}
pre-configure:
cd ${WRKSRC}; ${PATCH} ${PATCH_DIST_ARGS} < xengine.patch1
+INSTALLATION_DIRS= share/doc/xengine
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xengine
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xengine
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xengine
@${ECHO} ""
@${ECHO} "Example value:"
@${ECHO} " 1067 RPMs with P100, Winner 2000PRO/X, resolution: 1152x900"