Date: Thu, 6 Feb 2003 02:37:56 +0300 (MSK) From: "Sergey A.Osokin" <osa@FreeBSD.org.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: greid@FreeBSD.org Subject: ports/47980: [PATCH] emulators/bfe: update from 2mar2001 to 24jan2003 Message-ID: <20030205233756.71014195@freebsd.org.ru>
next in thread | raw e-mail | index | archive | help
>Number: 47980 >Category: ports >Synopsis: [PATCH] emulators/bfe: update from 2mar2001 to 24jan2003 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 05 15:40:05 PST 2003 >Closed-Date: >Last-Modified: >Originator: Sergey A. Osokin >Release: FreeBSD 4.7-STABLE i386 >Organization: n/a >Environment: System: FreeBSD 4.7-STABLE i386 >Description: emulators/bfe: update from 2mar2001 to 24jan2003 >How-To-Repeat: >Fix: Index: ports/emulators/bfe/Makefile =================================================================== RCS file: /home/ncvs/ports/emulators/bfe/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- ports/emulators/bfe/Makefile 2002/07/04 09:20:28 1.8 +++ ports/emulators/bfe/Makefile 2003/02/05 23:21:11 @@ -5,29 +5,34 @@ # $FreeBSD: ports/emulators/bfe/Makefile,v 1.8 2002/07/04 09:20:28 mikeh Exp $ # -PORTNAME= bfe -PORTVERSION= 2mar2001 +PORTNAME= bfe2 +PORTVERSION= 20030124 CATEGORIES= emulators -MASTER_SITES= http://www.qzx.com/bfe/_download/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= bfe +DISTNAME= bfe2-24jan2003 MAINTAINER= greid@FreeBSD.org -LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms RUN_DEPENDS= bochs:${PORTSDIR}/emulators/bochs +USE_REINPLACE= yes USE_X_PREFIX= yes -USE_XPM= yes +USE_GNOMENG= yes +USE_GNOME= gtk12 +CONFIGURE_SCRIPT= configure.sh +WRKSRC= ${WRKDIR}/bfe2 + +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ + -e 's|%%CC%%|${CC}|' -e 's|%%CFLAGS%%|${CFLAGS}|' \ + ${WRKSRC}/${CONFIGURE_SCRIPT} -WRKSRC= ${WRKDIR}/bfe +do-configure: + @cd ${WRKSRC} && ${SH} ${CONFIGURE_SCRIPT} -pre-build: - ${PERL} -pi -e "s@/usr/X11R6@${X11BASE}@g; \ - s@/usr/local@${LOCALBASE}@g; \ - s@-lforms@-lforms -lXpm@g; \ - s@gcc@${CC}@g; s@-O2@${CFLAGS}@g" ${WRKSRC}/Makefile - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bfe ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bfe2 ${PREFIX}/bin -@${MKDIR} ${PREFIX}/share/bfe ${INSTALL_DATA} ${WRKSRC}/README.bferc ${PREFIX}/share/bfe/bferc.sample ${INSTALL_DATA} ${WRKSRC}/README.bferc ${PREFIX}/share/bfe Index: ports/emulators/bfe/distinfo =================================================================== RCS file: /home/ncvs/ports/emulators/bfe/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- ports/emulators/bfe/distinfo 2001/08/31 02:47:39 1.3 +++ ports/emulators/bfe/distinfo 2003/02/05 23:21:11 @@ -1 +1 @@ -MD5 (bfe-2mar2001.tar.gz) = 6aac85b944f0b907fad2cbe18d3bc136 +MD5 (bfe2-24jan2003.tar.gz) = 83018142b4d30ba13def376f4996d845 Index: ports/emulators/bfe/pkg-comment =================================================================== RCS file: /home/ncvs/ports/emulators/bfe/pkg-comment,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 pkg-comment --- ports/emulators/bfe/pkg-comment 2000/02/02 21:18:47 1.1.1.1 +++ ports/emulators/bfe/pkg-comment 2003/02/05 23:21:11 @@ -1 +1 @@ -X11 GUI for the bochs debugger +X11 GUI for the bochs debugger (revision 2) Index: ports/emulators/bfe/pkg-descr =================================================================== RCS file: /home/ncvs/ports/emulators/bfe/pkg-descr,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 pkg-descr --- ports/emulators/bfe/pkg-descr 2000/02/02 21:18:47 1.1.1.1 +++ ports/emulators/bfe/pkg-descr 2003/02/05 23:21:11 @@ -1,6 +1,7 @@ -Bochs Frontend is a graphical interface for X11 to the bochs x86 emulator. +Bochs Frontend (bfe2) is a graphical interface for X11 to the +bochs x86 emulator. -WWW: http://www.qzx.com/bfe/ +WWW: http://bfe.sourceforge.net/ - John jhb@FreeBSD.org Index: ports/emulators/bfe/pkg-plist =================================================================== RCS file: /home/ncvs/ports/emulators/bfe/pkg-plist,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 pkg-plist --- ports/emulators/bfe/pkg-plist 2000/02/02 21:18:47 1.1.1.1 +++ ports/emulators/bfe/pkg-plist 2003/02/05 23:21:11 @@ -1,4 +1,4 @@ -bin/bfe +bin/bfe2 share/bfe/bferc.sample share/bfe/README.bferc @dirrm share/bfe --- /dev/null Thu Feb 6 02:19:37 2003 +++ ports/emulators/bfe/files/patch-configure.sh Thu Feb 6 02:12:11 2003 @@ -0,0 +1,49 @@ +--- configure.sh.orig Sat Jan 25 07:08:39 2003 ++++ configure.sh Thu Feb 6 02:11:55 2003 +@@ -1,26 +1,18 @@ +-#!/bin/bash +- +-# csh and tcsh do not like this file +-# ash produces incorrect quoting +- +-if [ "`/bin/ls -la /bin/sh |grep '\-> ash'`" != "" ]; then +- echo -e "\nash shell is not supported\n" +- exit +-fi ++#!/bin/sh + + ############################################################################## + +-CC="cc" +-LD="cc" +-CFLAGS="-O2 -Wall" ++CC=%%CC%% ++LD=%%CC%% ++CFLAGS=%%CFLAGS%% + LFLAGS="" + + PROG="bfe2" + OWNER="root" +-GROUP="root" ++GROUP="whell" + + # install directories +-PREFIX="/usr/local" ++PREFIX=%%PREFIX%% + BIN="bin" + SYSCONF="etc" + +@@ -106,13 +98,6 @@ + INCS="\`pkg-config --cflags gtk+-2.0\`" + else + echo -e "\tInvalid GTK version [$GTK]" +- exit +-fi +- +-if [ "$BOCHS" == "2.0" ]; then +- BOCHSPATH="$BOCHSPATH -q" +-else +- echo -e "\tInvalid Bochs version [$BOCHS]" + exit + fi + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030205233756.71014195>