summaryrefslogtreecommitdiff
path: root/emulators/pcemu/Makefile
blob: b8dc316c8a2175d846c4c262cb3e21ec3192abcc (plain)
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
# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:29 joerg Exp $

DISTNAME=	pcemu1.01alpha
PKGNAME=	pcemu-1.01a
PKGREVISION=	3
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_FREEBSD}

MAINTAINER=	eric@fox.phoenix.az.us
COMMENT=	8086 PC emulator, by David Hedley

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=	bdftopcf mkfontdir

MAKE_ENV+=	FILESDIR=${FILESDIR:Q}

FONTS_DIRS.x11=	${PREFIX}/lib/pcemu/font
REQD_DIRS=	${PREFIX}/lib/pcemu/font
REQD_DIRS+=	${PREFIX}/lib/pcemu

INSTALL_MAKE_FLAGS=	LOCALPREFIX=${DESTDIR}${PREFIX}

do-configure:
	cd ${WRKSRC};							\
		${MKDIR} ${WRKSRC}/bootstrap;				\
		${SH} < ${FILESDIR}/bootstrap.shar

post-configure:
	${SED} -e 's|/usr/local|${PREFIX}|g' < ${WRKSRC}/bootstrap/help.txt > \
		${WRKSRC}/foo
	${MV} ${WRKSRC}/foo ${WRKSRC}/bootstrap/help.txt

.include "../../x11/libXext/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"