summaryrefslogtreecommitdiff
path: root/emulators/lrmi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/lrmi/Makefile')
-rw-r--r--emulators/lrmi/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/emulators/lrmi/Makefile b/emulators/lrmi/Makefile
index a579fcca821..fdbacf5e007 100644
--- a/emulators/lrmi/Makefile
+++ b/emulators/lrmi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/09/09 02:41:59 obache Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 19:21:38 jlam Exp $
#
DISTNAME= lrmi-0.8
@@ -13,14 +13,16 @@ COMMENT= Wrapper to the i386 vm86 mode
ONLY_FOR_PLATFORM= *-*-i386
NOT_FOR_PLATFORM+= Interix-*-* # cannot call real mode from Windows
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_FILE= Makefile.bsd
INSTALLATION_DIRS= bin include lib
do-install:
- ${INSTALL_DATA} ${WRKSRC}/vbe.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/lrmi.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/liblrmi.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/liblrmi.so ${PREFIX}/lib
- ${INSTALL_PROGRAM} ${WRKSRC}/vbetest ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/vbe.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/lrmi.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/liblrmi.a ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/liblrmi.so ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/vbetest ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"