blob: d279e539fe27c9e7601c26b1f4e090a8d92db2c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= bfe2
PORTVERSION= 20030723
PORTREVISION= 11
CATEGORIES= emulators
MASTER_SITES= SF/bfe/source/23jul2003
DISTNAME= ${PORTNAME}-23jul2003
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 GUI for the bochs debugger (revision 2)
WWW= https://bfe.sourceforge.net/
RUN_DEPENDS= bochs:emulators/bochs
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= gnome pkgconfig
USE_GNOME= gtk20
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.sh
CONFIGURE_ARGS= --gtk 2.0
post-patch:
@${REINPLACE_CMD} -e \
's|%%CFLAGS%%|"${CFLAGS}"|g ; \
s|%%CC%%|"${CC}"|g ; \
s|%%PREFIX%%|"${PREFIX}"|g ; \
s|gtk-config --libs|pkg-config --libs gtk+|g ; \
s|gtk-config --cflags|pkg-config --cflags gtk+|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bfe2 ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/README.bferc ${STAGEDIR}${DATADIR}/bferc.sample
${INSTALL_DATA} ${WRKSRC}/README.bferc ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
|