summaryrefslogtreecommitdiff
path: root/emulators/plex86/Makefile
blob: 05b3e08118e077fe56cf0bdae2323d3f86daaf95 (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
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.7 2000/12/14 19:45:11 tv Exp $
#

DISTNAME=	plex86-20001214.2
PKGNAME=	plex86-0.20001214.2
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_LOCAL}
EXTRACT_SUFX=	.tgz

MAINTAINER=	hubertf@netbsd.org
HOMEPAGE=	http://www.plex86.org/

WRKSRC=		${WRKDIR}/plex86
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-NetBSD \
		--with-netbsd-source=${BSDSRCDIR}/sys
USE_GMAKE=	yes
NO_PKG_REGISTER=	yes	# ONLY until we really install files!!!
NO_PACKAGE=	Incomplete	# ONLY until we really install files!!!

BSDSRCDIR?=	/nonexistent	# to override <bsd.own.mk>, MUST be
				# set this way BEFORE bsd.prefs.mk
.include "../../mk/bsd.prefs.mk"

pre-extract:
.if ${BSDSRCDIR} == "/nonexistent"
	@${ECHO_MSG} "Please set BSDSRCDIR in /etc/mk.conf."
	@${FALSE}
.endif
.if !exists(${BSDSRCDIR}/sys/sys/param.h)
	@${ECHO_MSG} "Need a kernel source tree in ${BSDSRCDIR}/sys."
	@${ECHO_MSG} "(Or set BSDSRCDIR correctly in /etc/mk.conf.)"
	@${FALSE}
.endif

do-install:
	@${CAT} ${MESSAGE_FILE}
	@${ECHO_MSG} Package NOT recorded as installed!
	@# Remove the NO_PKG_REGISTER/NO_PACKAGE above if this does something!!!

.include "../../mk/bsd.pkg.mk"