summaryrefslogtreecommitdiff
path: root/emulators/bfe/Makefile
blob: 3b899a9adce5b51a0f2f1937d1d4d161668b042a (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
# New ports collection makefile for:	bfe
# Date created:		02 February 2000
# Whom:			jhb
#
# $FreeBSD$
#

PORTNAME=	bfe
PORTVERSION=	2mar2001
CATEGORIES=	emulators
MASTER_SITES=	http://www.qzx.com/bfe/_download/

MAINTAINER=	greid@FreeBSD.org

LIB_DEPENDS=	xforms.0:${PORTSDIR}/x11-toolkits/xforms
RUN_DEPENDS=	bochs:${PORTSDIR}/emulators/bochs

USE_X_PREFIX=	yes

WRKSRC=		${WRKDIR}/bfe

pre-build:
	${PERL} -pi -e "s@/usr/X11R6@${X11BASE}@g; \
			s@/usr/local@${LOCALBASE}@g; \
			s@gcc@${CC}@g; s@-O2@${CFLAGS}@g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bfe ${PREFIX}/bin
	-@${MKDIR} ${PREFIX}/share/bfe
	${INSTALL_DATA} ${WRKSRC}/README.bferc ${PREFIX}/share/bfe/bferc.sample
	${INSTALL_DATA} ${WRKSRC}/README.bferc ${PREFIX}/share/bfe

.include <bsd.port.mk>