summaryrefslogtreecommitdiff
path: root/emulators/plex86/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-12-14 04:25:52 +0000
committerhubertf <hubertf>2000-12-14 04:25:52 +0000
commit60ddae47ca3e3b7f83768f529f860b489fa5db98 (patch)
tree69ded0b63d9c0f8b416b9574f7054feba694683a /emulators/plex86/Makefile
parent14fe13e8600a4ca053ce88f5e74e86e9ab32b7d6 (diff)
downloadpkgsrc-60ddae47ca3e3b7f83768f529f860b489fa5db98.tar.gz
The goal of the Plex86 project is to create an extensible open source
PC virtualization software program which will allow PC and workstation users to run multiple operating systems concurrently on the same machine. Plex86 will run as much of the operating system and application software natively as possible, the rest being emulated by the PC virtualization monitor. A highly visible and often requested use, would be to allow for Windows software to be run inside of GNU/Linux or other UNIX like operating system. This gives users a migration path towards UNIX, allowing them to run legacy software until native ports or alternatives are available. It also provides a transitionary step for software vendors who plan to port their product to UNIX, but have not yet done so. Users could buy the Windows version product and run it at near native speeds on UNIX, using Plex86, until a UNIX native version is ready.
Diffstat (limited to 'emulators/plex86/Makefile')
-rw-r--r--emulators/plex86/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/emulators/plex86/Makefile b/emulators/plex86/Makefile
new file mode 100644
index 00000000000..1e5c0e5b7e1
--- /dev/null
+++ b/emulators/plex86/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/14 04:25:52 hubertf Exp $
+#
+
+DISTNAME= plex86
+PKGNAME= plex86-0.20001214
+CATEGORIES= emulators
+MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/fvdl/
+DISTFILES= plex86-20001214.tgz plex86.tgz
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.plex86.org/
+
+BUILD_DEPENDS+= autoconf:../../devel/autoconf
+
+DIST_SUBDIR= plex86-20001214
+WRKSRC= ${WRKDIR}/plex86
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-NetBSD \
+ --with-netbsd-source=/sys
+BSDSRCDIR?= /usr/src
+USE_GMAKE= yes
+NO_PKG_REGISTER= yes # ONLY until we really install files!!!
+NO_PACKAGE= Incomplete # ONLY until we really install files!!!
+
+pre-extract:
+ @if [ ! -f ${BSDSRCDIR}/sys/sys/param.h ]; then \
+ ${ECHO_MSG} Need a kernel source tree in ${BSDSRCDIR}/sys ; \
+ ${ECHO_MSG} "(set BSDSRCDIR accordingly in /etc/mk.conf!)" ; \
+ exit 1 ; \
+ fi
+
+pre-patch:
+ cd ${WRKSRC} ; \
+ ${PATCH} ${PATCH_ARGS} <${WRKDIR}/plex86.diff
+ ${CP} ${WRKDIR}/kernel/host-netbsd.c ${WRKSRC}/kernel
+ ${CP} ${WRKDIR}/misc/netbsd_post.sh ${WRKSRC}/misc
+
+pre-configure:
+ cd ${WRKSRC} ; autoconf
+
+do-install:
+ @${CAT} ${MESSAGE_FILE}
+ @${ECHO_MSG} Package NOT recorded as installed!
+ @# Remove the NO_PKG_REGISTER/NO_PACKAGE above if this does something!!!
+ @# Remove the NO_PKG_REGISTER/NO_PACKAGE above if this does something!!!
+ @# Remove the NO_PKG_REGISTER/NO_PACKAGE above if this does something!!!
+
+.include "../../mk/bsd.pkg.mk"