From 72c793db724547f94e279fe37fcea5de2c362035 Mon Sep 17 00:00:00 2001 From: kent Date: Wed, 21 Aug 2002 15:17:46 +0000 Subject: First import of PEACE pkgsrc. PEACE is a set of programs to run Win32 executables on NetBSD. http://chiharu.hauN.org/peace/ --- emulators/peace/DESCR | 3 +++ emulators/peace/INSTALL | 36 +++++++++++++++++++++++++ emulators/peace/MESSAGE | 13 +++++++++ emulators/peace/Makefile | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ emulators/peace/PLIST | 58 +++++++++++++++++++++++++++++++++++++++++ emulators/peace/distinfo | 16 ++++++++++++ 6 files changed, 194 insertions(+) create mode 100644 emulators/peace/DESCR create mode 100644 emulators/peace/INSTALL create mode 100644 emulators/peace/MESSAGE create mode 100644 emulators/peace/Makefile create mode 100644 emulators/peace/PLIST create mode 100644 emulators/peace/distinfo (limited to 'emulators/peace') diff --git a/emulators/peace/DESCR b/emulators/peace/DESCR new file mode 100644 index 00000000000..4ec4124eb59 --- /dev/null +++ b/emulators/peace/DESCR @@ -0,0 +1,3 @@ +PEACE is a set of programs to run Win32 executables on NetBSD. + +http://chiharu.hauN.org/peace/ diff --git a/emulators/peace/INSTALL b/emulators/peace/INSTALL new file mode 100644 index 00000000000..c2a4e312323 --- /dev/null +++ b/emulators/peace/INSTALL @@ -0,0 +1,36 @@ +#!/bin/sh +# +# $NetBSD: INSTALL,v 1.1.1.1 2002/08/21 15:17:46 kent Exp $ +# $PEACE: INSTALL,v 1.2 2002/08/21 03:54:08 kent Exp $ + +PKGNAME=$1 +STAGE=$2 + +LN=/bin/ln +MKDIR=/bin/mkdir +MODLOAD=/sbin/modload +PECOFF=${PKG_PREFIX}/emul/pecoff +PEACEREG=/var/db/peace/reg +DLLPATH=${PECOFF}/usr/lib; export DLLPATH +PEACE_LOCALE=en_US; export PEACE_LOCALE + +case ${STAGE} in +PRE-INSTALL) + ;; +POST-INSTALL) + ${MKDIR} /emul + ${LN} -sf ${PKG_PREFIX}/emul/pecoff /emul/pecoff + ${MODLOAD} /usr/lkm/compat_pecoff.o + ${MODLOAD} /usr/lkm/exec_pecoff.o + ${MKDIR} -p ${PEACEREG}/config + ${MKDIR} -p ${PEACEREG}/machine + ${MKDIR} -p ${PEACEREG}/root + ${PECOFF}/usr/bin/regcomserver ${PECOFF}/usr/lib/dsound.dll + ${PECOFF}/usr/bin/regcomserver ${PECOFF}/usr/lib/ddraw.dll + ;; +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/emulators/peace/MESSAGE b/emulators/peace/MESSAGE new file mode 100644 index 00000000000..4428731fc70 --- /dev/null +++ b/emulators/peace/MESSAGE @@ -0,0 +1,13 @@ +================================================================ +$NetBSD: MESSAGE,v 1.1.1.1 2002/08/21 15:17:46 kent Exp $ + +To enable the kernel part of PEACE, run the following: + # modload /usr/lkm/compat_pecoff.o + # modload /usr/lkm/exec_pecoff.o + +This version of PEACE requires TrueType fonts. +At least you have to set the following environment variables: + $DLLPATH $PEACE_FONTPATH $PEACE_LOCALE +See http://chiharu.hauN.org/peace/install.html `Settings' + +================================================================ diff --git a/emulators/peace/Makefile b/emulators/peace/Makefile new file mode 100644 index 00000000000..4f5ebbbcc4f --- /dev/null +++ b/emulators/peace/Makefile @@ -0,0 +1,68 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/21 15:17:46 kent Exp $ +# $PEACE: Makefile,v 1.9 2002/08/21 14:29:13 kent Exp $ +# +PEACE_VERSION= 20020821 +DISTNAME= peace-0.0.${PEACE_VERSION} +SITES_peace-20020821.tar.gz=http://cvs.kshosen.ac.jp/src/ +CATEGORIES= emulators + +MAINTAINER= peace-sacrifice@hauN.org +HOMEPAGE= http://chiharu.hauN.org/peace/ +COMMENT= Enable to run Win32 executables + +ICU_VER= 1.8.1 +ICU_SHORT_VER= 18 +DISTFILES+= freetype-dll-2.0.1nb1.tgz \ + icu-dll-${ICU_VER}nb3.tgz \ + icu-data-${ICU_VER}nb1.tgz \ + peace-i386-sysdll-20020715.tgz \ + peace-i386-implib-20020124.tar.gz \ + i386-netbsdpe-stl-3.3.tgz \ + peace-${PEACE_VERSION}.tar.gz +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=peace/} +# bin/showstack requires perl5 +# DEPENDS+= perl5:../../lang/perl5 +ONLY_FOR_PLATFORMS= NetBSD-1.5ZC-i386 NetBSD-1.6*-i386 + +BUILD_DEPENDS= cross-i386-netbsdpe>=1.3:../../cross/i386-netbsdpe +BUILD_DEPENDS+= w32api>=1.5nb1:../../devel/w32api +WRKSRC= ${WRKDIR}/peace +CFLAGS+= -I${WRKDIR}/cross/i386-netbsdpe/include \ + -I${WRKDIR}/cross/i386-netbsdpe/include/c++ +LDFLAGS= -L. -L${WRKSRC}/lib +PECOFFDIR= ${PREFIX}/emul/pecoff +MAKE_FLAGS+= PECOFFDIR=${PECOFFDIR} \ + CROSSBASE=${CROSSBASE} \ + CHECK_DEPENDENTS=NO +MAKE_COMMAND= ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} + +do-configure: +# import libraries in peace-i386-implib + ${CP} ${WRKDIR}/lib/*.a ${WRKSRC}/lib +# import libraries in icu and freetype + ${CP} ${WRKDIR}/cross/i386-netbsdpe/lib/*.a ${WRKSRC}/lib +# static libc + ${CP} ${WRKDIR}/linklib/NetBSD-libc/obj/libc.a ${WRKSRC}/linklib/NetBSD-libc/ + +do-build: + ${_PKG_SILENT}cd ${WRKSRC}/libexec/ld.pe_so && ${MAKE_COMMAND} + ${_PKG_SILENT}cd ${WRKSRC}/dll && ${MAKE_COMMAND} + ${_PKG_SILENT}cd ${WRKSRC}/bin && ${MAKE_COMMAND} + +do-install: + ${INSTALL_PROGRAM_DIR} ${PECOFFDIR}/usr/libexec + cd ${WRKSRC}/libexec/ld.pe_so && ${MAKE_COMMAND} install + ${INSTALL_DATA_DIR} ${PECOFFDIR}/usr/lib + ${_PKG_SILENT}cd ${WRKSRC}/dll && ${MAKE_COMMAND} install + ${_PKG_SILENT}cd ${WRKSRC}/bin && ${MAKE_COMMAND} install + ${INSTALL_DATA} ${WRKDIR}/lib/*.dll ${WRKDIR}/*.dll ${PECOFFDIR}/usr/lib + ${INSTALL_DATA_DIR} ${PECOFFDIR}/usr/pkg/etc/icudll + ${INSTALL_DATA_DIR} ${PECOFFDIR}/usr/pkg/share/icudll/${ICU_VER} + ${INSTALL_DATA} ${WRKDIR}/etc/icudll/convrtrs.txt ${PECOFFDIR}/usr/pkg/etc/icudll + ${INSTALL_DATA} ${WRKDIR}/share/icudll/${ICU_VER}/icudt${ICU_SHORT_VER}l.dat \ + ${PECOFFDIR}/usr/pkg/share/icudll/${ICU_VER} +post-install: + PKG_PREFIX=${LOCALBASE} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL + + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/peace/PLIST b/emulators/peace/PLIST new file mode 100644 index 00000000000..259b4181c0f --- /dev/null +++ b/emulators/peace/PLIST @@ -0,0 +1,58 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/21 15:17:46 kent Exp $ +emul/pecoff/usr/bin/ldd.pe +emul/pecoff/usr/bin/regcomserver +emul/pecoff/usr/bin/regimport +emul/pecoff/usr/bin/regutil +emul/pecoff/usr/bin/showstack +emul/pecoff/usr/lib/advapi32.dll +emul/pecoff/usr/lib/avifil32.dll +emul/pecoff/usr/lib/comctl32.dll +emul/pecoff/usr/lib/comdlg32.dll +emul/pecoff/usr/lib/ddraw.dll +emul/pecoff/usr/lib/dinput.dll +emul/pecoff/usr/lib/dsound.dll +emul/pecoff/usr/lib/gdi32.dll +emul/pecoff/usr/lib/imm32.dll +emul/pecoff/usr/lib/kernel32.dll +emul/pecoff/usr/lib/libX11.dll +emul/pecoff/usr/lib/libXext.dll +emul/pecoff/usr/lib/libc.dll +emul/pecoff/usr/lib/libfreetype.dll +emul/pecoff/usr/lib/libicui18n18.dll +emul/pecoff/usr/lib/libicuuc18.dll +emul/pecoff/usr/lib/libustdio18.dll +emul/pecoff/usr/lib/libm.dll +emul/pecoff/usr/lib/libpthread.dll +emul/pecoff/usr/lib/libz.dll +emul/pecoff/usr/lib/lz32.dll +emul/pecoff/usr/lib/mpr.dll +emul/pecoff/usr/lib/msacm32.dll +emul/pecoff/usr/lib/msvfw32.dll +emul/pecoff/usr/lib/ole32.dll +emul/pecoff/usr/lib/shell32.dll +emul/pecoff/usr/lib/ui.so.dll +emul/pecoff/usr/lib/user32.dll +emul/pecoff/usr/lib/version.dll +emul/pecoff/usr/lib/winmm.dll +emul/pecoff/usr/lib/winspool.drv +emul/pecoff/usr/lib/wsock32.dll +emul/pecoff/usr/libexec/ld.so.dll +emul/pecoff/usr/share/man/man1/ldd.pe.1 +emul/pecoff/usr/share/man/cat1/ldd.pe.0 +emul/pecoff/usr/pkg/etc/icudll/convrtrs.txt +emul/pecoff/usr/pkg/share/icudll/1.8.1/icudt18l.dat +@dirrm emul/pecoff/usr/pkg/etc/icudll +@dirrm emul/pecoff/usr/pkg/etc +@dirrm emul/pecoff/usr/pkg/share/icudll/1.8.1 +@dirrm emul/pecoff/usr/pkg/share/icudll +@dirrm emul/pecoff/usr/pkg/share/ +@dirrm emul/pecoff/usr/pkg +@dirrm emul/pecoff/usr/share/man/cat1 +@dirrm emul/pecoff/usr/share/man/man1 +@dirrm emul/pecoff/usr/share/man +@dirrm emul/pecoff/usr/share +@dirrm emul/pecoff/usr/libexec +@dirrm emul/pecoff/usr/lib +@dirrm emul/pecoff/usr/bin +@dirrm emul/pecoff/usr +@dirrm emul/pecoff diff --git a/emulators/peace/distinfo b/emulators/peace/distinfo new file mode 100644 index 00000000000..dade79e62a7 --- /dev/null +++ b/emulators/peace/distinfo @@ -0,0 +1,16 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/21 15:17:46 kent Exp $ + +SHA1 (freetype-dll-2.0.1nb1.tgz) = b9d54962eab12857a2a697b87bdf19e955ace845 +Size (freetype-dll-2.0.1nb1.tgz) = 244477 bytes +SHA1 (icu-dll-1.8.1nb3.tgz) = b9f6ea25c06109eedc2e4e4188a636556e90499f +Size (icu-dll-1.8.1nb3.tgz) = 1573220 bytes +SHA1 (icu-data-1.8.1nb1.tgz) = 9512d7fb39df1151b87091ed44f729835b4890b3 +Size (icu-data-1.8.1nb1.tgz) = 3266011 bytes +SHA1 (peace-i386-sysdll-20020715.tgz) = 66d5595691a4ec55c0f001938d94b20893ab5fd6 +Size (peace-i386-sysdll-20020715.tgz) = 728280 bytes +SHA1 (peace-i386-implib-20020124.tar.gz) = 0b5d2991da323accb38bf68cf756136fd468d254 +Size (peace-i386-implib-20020124.tar.gz) = 486879 bytes +SHA1 (i386-netbsdpe-stl-3.3.tgz) = ac7f597dee4b33d2794eb90959c756d263a3a8ca +Size (i386-netbsdpe-stl-3.3.tgz) = 173766 bytes +SHA1 (peace-20020821.tar.gz) = 125b480bb38425d948782ceb1ea3a199fc48eb11 +Size (peace-20020821.tar.gz) = 1202746 bytes -- cgit v1.2.3