summaryrefslogtreecommitdiff
path: root/emulators/pcemu
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commita459d6adc77b22d7efa499cea1bcfbae7c929a42 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /emulators/pcemu
parent7854cf84ecbcc45c6b18092fadae7896937e468a (diff)
downloadpkgsrc-a459d6adc77b22d7efa499cea1bcfbae7c929a42.tar.gz
Add DESTDIR support.
Diffstat (limited to 'emulators/pcemu')
-rw-r--r--emulators/pcemu/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/pcemu/Makefile b/emulators/pcemu/Makefile
index d6fab5f5ccf..b8dc316c8a2 100644
--- a/emulators/pcemu/Makefile
+++ b/emulators/pcemu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/12/01 23:57:23 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:29 joerg Exp $
DISTNAME= pcemu1.01alpha
PKGNAME= pcemu-1.01a
@@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_FREEBSD}
MAINTAINER= eric@fox.phoenix.az.us
COMMENT= 8086 PC emulator, by David Hedley
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= bdftopcf mkfontdir
MAKE_ENV+= FILESDIR=${FILESDIR:Q}
@@ -17,6 +19,8 @@ FONTS_DIRS.x11= ${PREFIX}/lib/pcemu/font
REQD_DIRS= ${PREFIX}/lib/pcemu/font
REQD_DIRS+= ${PREFIX}/lib/pcemu
+INSTALL_MAKE_FLAGS= LOCALPREFIX=${DESTDIR}${PREFIX}
+
do-configure:
cd ${WRKSRC}; \
${MKDIR} ${WRKSRC}/bootstrap; \