mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
# New ports collection makefile for: bfe
|
|
# Date created: 02 February 2000
|
|
# Whom: jhb
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bfe2
|
|
PORTVERSION= 20030723
|
|
PORTREVISION= 4
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= bfe
|
|
DISTNAME= ${PORTNAME}-23jul2003
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= X11 GUI for the bochs debugger (revision 2)
|
|
|
|
RUN_DEPENDS= bochs:${PORTSDIR}/emulators/bochs
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_X_PREFIX= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= configure.sh
|
|
|
|
.if defined(WITH_GTK2)
|
|
USE_GNOME+= gtk20
|
|
CONFIGURE_ARGS+= --gtk 2.0
|
|
PKGNAMESUFFIX= -gtk2
|
|
.else
|
|
USE_GNOME+= gtk12
|
|
CONFIGURE_ARGS+= --gtk 1.2
|
|
.endif
|
|
|
|
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 ${PREFIX}/bin
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.bferc ${DATADIR}/bferc.sample
|
|
${INSTALL_DATA} ${WRKSRC}/README.bferc ${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|