Index: head/emulators/pearpc/pkg-plist =================================================================== --- head/emulators/pearpc/pkg-plist (revision 116724) +++ head/emulators/pearpc/pkg-plist (nonexistent) @@ -1,4 +0,0 @@ -bin/ppc -etc/ppccfg.example -%%DATADIR%%/video.x -@dirrm %%DATADIR%% Property changes on: head/emulators/pearpc/pkg-plist ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/emulators/pearpc/Makefile =================================================================== --- head/emulators/pearpc/Makefile (revision 116724) +++ head/emulators/pearpc/Makefile (revision 116725) @@ -1,85 +1,90 @@ # New ports collection makefile for: pearpc # Date created: 22 May 2004 # Whom: Roman Bogorodskiy # # $FreeBSD$ # PORTNAME= pearpc -PORTVERSION= 0.2.0 +PORTVERSION= 0.3.0 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= bogorodskiy@inbox.ru COMMENT= PowerPC emulator USE_XLIB= yes USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} PKGMESSAGE= ${WRKDIR}/pkg-message MAN1= ppc.1 +PLIST_FILES= bin/ppc etc/ppccfg.example %%DATADIR%%/video.x +PLIST_DIRS= %%DATADIR%% + .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -O3 -ffast-math .else CONFIGURE_ARGS+= --disable-fpo .endif -.if defined(WITH_QT) -CONFIGURE_ARGS+= --enable-gui=qt -USE_QT_VER= 3 -QTDIR?= ${X11BASE} -CONFIGURE_ENV+= QTDIR="${QTDIR}" -.else -CONFIGURE_ARGS+= --enable-gui=nogui -.endif +# GTK and QT ui are broken in this version +# +#.if defined(WITH_QT) +#CONFIGURE_ARGS+= --enable-ui=qt +#USE_QT_VER= 3 +#QTDIR?= ${X11BASE} +#CONFIGURE_ENV+= QTDIR="${QTDIR}" +#.else +#CONFIGURE_ARGS+= --enable-ui=nogui +#.endif .include # jitc_x86 is avaible only on x86 .if ${ARCH} == "i386" .if !defined(WITH_JITC) CONFIGURE_ARGS+= --enable-cpu=generic .else CONFIGURE_ARGS+= --enable-cpu=jitc_x86 .endif # WITH_JITC .else CONFIGURE_ARGS+= --enable-cpu=generic .endif .if ${OSVERSION} < 500000 USE_GCC= 3.3 CFLAGS+= -DFREEBSD_MB_SUPPORT .endif pre-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} "" @${ECHO_MSG} "You can do optimized build defining WITH_OPTIMIZED_CFLAGS=yes." @${ECHO_MSG} "" .endif post-patch: .if ${OSVERSION} < 500000 - @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/src/system/posix/types.h + @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/src/system/osapi/posix/types.h .endif post-configure: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/src/Makefile .if ${OSVERSION} < 500000 @${CP} ${FILESDIR}/wcrtomb.c ${FILESDIR}/mbrtowc.c \ ${WRKSRC}/ .endif post-install: @${MKDIR} ${DATADIR} @${INSTALL_DATA} ${WRKSRC}/video.x ${DATADIR}/video.x @${SED} -e 's,PREFIX,${PREFIX},g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} @${INSTALL_DATA} ${WRKSRC}/ppccfg.example ${PREFIX}/etc/ppccfg.example .include Property changes on: head/emulators/pearpc/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.8 \ No newline at end of property +1.9 \ No newline at end of property Index: head/emulators/pearpc/distinfo =================================================================== --- head/emulators/pearpc/distinfo (revision 116724) +++ head/emulators/pearpc/distinfo (revision 116725) @@ -1,2 +1,2 @@ -MD5 (pearpc-0.2.0.tar.gz) = 1cf100ba0f9bbd05acbdc9ecdf87f5f5 -SIZE (pearpc-0.2.0.tar.gz) = 702392 +MD5 (pearpc-0.3.0.tar.gz) = 6d68187c78cae674a5efa6662c4cdb22 +SIZE (pearpc-0.3.0.tar.gz) = 814686 Property changes on: head/emulators/pearpc/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc =================================================================== --- head/emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc (revision 116724) +++ head/emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc (nonexistent) @@ -1,11 +0,0 @@ ---- src/cpu_generic/ppc_cpu.cc.orig Sun Aug 1 19:42:05 2004 -+++ src/cpu_generic/ppc_cpu.cc Thu May 6 02:48:30 2004 -@@ -108,7 +108,7 @@ - ppc_debug_hook(); - } else { - int ret; -+ if ((ret = ppc_direct_effective_memory_handle_code(gCPU.pc & ~0xfff, (byte *&)gCPU.physical_code_page))) { -- if ((ret = ppc_direct_effective_memory_handle_code(gCPU.pc & ~0xfff, gCPU.physical_code_page))) { - if (ret == PPC_MMU_EXC) { - gCPU.pc = gCPU.npc; - continue; Property changes on: head/emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/emulators/pearpc/files/pkg-message.in =================================================================== --- head/emulators/pearpc/files/pkg-message.in (revision 116724) +++ head/emulators/pearpc/files/pkg-message.in (revision 116725) @@ -1,3 +1,3 @@ -Sample config file can be found at /usr/local/etc/ppccfg.example +Sample config file can be found at PREFIX/etc/ppccfg.example Property changes on: head/emulators/pearpc/files/pkg-message.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property