blob: 6419ed6a3c445d46311ddd99d67552a4dd8b839f (
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
42
43
44
45
46
47
48
49
50
51
52
53
|
# $NetBSD: Makefile,v 1.3 2000/12/14 15:51:25 tv Exp $
#
DISTNAME= plex86
PKGNAME= plex86-0.20001214
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/fvdl/ \
${MASTER_SITE_LOCAL}
DISTFILES= plex86-20001214.tgz plex86.tgz
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.plex86.org/
BUILD_DEPENDS+= autoconf:../../devel/autoconf
DIST_SUBDIR= plex86-20001214
WRKSRC= ${WRKDIR}/plex86
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-NetBSD \
--with-netbsd-source=/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
.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
pre-patch:
cd ${WRKSRC} && \
${PATCH} ${PATCH_ARGS} <${WRKDIR}/plex86.diff
${CP} ${WRKDIR}/kernel/host-netbsd.c ${WRKSRC}/kernel
${CP} ${WRKDIR}/misc/netbsd_post.sh ${WRKSRC}/misc
pre-configure:
cd ${WRKSRC} && autoconf
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"
|