blob: aca5937ee24ffe63d1b7e9502e0a16f0ac5d95df (
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
|
# $NetBSD: Makefile,v 1.2 2000/12/14 04:34:40 hubertf 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
BSDSRCDIR?= /usr/src
USE_GMAKE= yes
NO_PKG_REGISTER= yes # ONLY until we really install files!!!
NO_PACKAGE= Incomplete # ONLY until we really install files!!!
pre-extract:
@if [ ! -f ${BSDSRCDIR}/sys/sys/param.h ]; then \
${ECHO_MSG} Need a kernel source tree in ${BSDSRCDIR}/sys ; \
${ECHO_MSG} "(set BSDSRCDIR accordingly in /etc/mk.conf!)" ; \
exit 1 ; \
fi
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!!!
@# Remove the NO_PKG_REGISTER/NO_PACKAGE above if this does something!!!
@# Remove the NO_PKG_REGISTER/NO_PACKAGE above if this does something!!!
.include "../../mk/bsd.pkg.mk"
|