mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Update to 24jan2003 (maintainer timeout).
PR: 47980 (partially) Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru>
This commit is contained in:
parent
b7bf966f62
commit
a232942161
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79032
@ -5,30 +5,37 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
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
|
||||
COMMENT= X11 GUI for the bochs debugger
|
||||
COMMENT= X11 GUI for the bochs debugger (revision 2)
|
||||
|
||||
LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
|
||||
RUN_DEPENDS= bochs:${PORTSDIR}/emulators/bochs
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_XPM= yes
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= gtk12
|
||||
CONFIGURE_SCRIPT= configure.sh
|
||||
WRKSRC= ${WRKDIR}/bfe2
|
||||
|
||||
WRKSRC= ${WRKDIR}/bfe
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
|
||||
-e 's|%%CC%%|${CC}|' -e 's|%%CFLAGS%%|${CFLAGS}|' \
|
||||
-e 's|gtk-config|${GTK_CONFIG}|' \
|
||||
${WRKSRC}/${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-configure:
|
||||
@cd ${WRKSRC} && ${SH} ${CONFIGURE_SCRIPT}
|
||||
|
||||
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
|
||||
|
@ -1 +1 @@
|
||||
MD5 (bfe-2mar2001.tar.gz) = 6aac85b944f0b907fad2cbe18d3bc136
|
||||
MD5 (bfe2-24jan2003.tar.gz) = 83018142b4d30ba13def376f4996d845
|
||||
|
49
emulators/bfe/files/patch-configure.sh
Normal file
49
emulators/bfe/files/patch-configure.sh
Normal file
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
bin/bfe
|
||||
bin/bfe2
|
||||
share/bfe/bferc.sample
|
||||
share/bfe/README.bferc
|
||||
@dirrm share/bfe
|
||||
|
Loading…
Reference in New Issue
Block a user