| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.1 2009/02/13 13:47:18 abs Exp $ | | 1 | # $NetBSD: options.mk,v 1.2 2016/12/14 08:51:53 wiz Exp $ |
2 | | | 2 | |
3 | .include "../../mk/bsd.prefs.mk" | | 3 | .include "../../mk/bsd.prefs.mk" |
4 | | | 4 | |
5 | PKG_OPTIONS_VAR= PKG_OPTIONS.xbeeb | | 5 | PKG_OPTIONS_VAR= PKG_OPTIONS.xbeeb |
6 | PKG_SUPPORTED_OPTIONS= mitshm xbeeb-roms | | 6 | PKG_SUPPORTED_OPTIONS= mitshm xbeeb-roms |
7 | PKG_SUGGESTED_OPTIONS= | | 7 | PKG_SUGGESTED_OPTIONS= |
8 | | | 8 | |
9 | # The emulator can be compiled either to use MIT-SHM, or to not. | | 9 | # The emulator can be compiled either to use MIT-SHM, or to not. |
10 | # Unfortunately it doesn't support both at once. | | 10 | # Unfortunately it doesn't support both at once. |
11 | .if empty(PKG_OPTIONS:Mmitshm) | | 11 | .if empty(PKG_OPTIONS:Mmitshm) |
12 | SUBST_CLASSES+= nomitshm | | 12 | SUBST_CLASSES+= nomitshm |
13 | SUBST_STAGE.nomitshm= post-patch | | 13 | SUBST_STAGE.nomitshm= post-patch |
14 | SUBST_MESSAGE.nomitshm= Disabling MIT-SHM | | 14 | SUBST_MESSAGE.nomitshm= Disabling MIT-SHM |
| @@ -18,27 +18,27 @@ SUBST_SED.nomitshm= -e "s|\#define *MITS | | | @@ -18,27 +18,27 @@ SUBST_SED.nomitshm= -e "s|\#define *MITS |
18 | | | 18 | |
19 | .include "../../mk/bsd.options.mk" | | 19 | .include "../../mk/bsd.options.mk" |
20 | | | 20 | |
21 | PLIST_VARS+= xbeeb-roms | | 21 | PLIST_VARS+= xbeeb-roms |
22 | | | 22 | |
23 | .if !empty(PKG_OPTIONS:Mmitshm) | | 23 | .if !empty(PKG_OPTIONS:Mmitshm) |
24 | | | 24 | |
25 | .include "../../x11/xextproto/buildlink3.mk" | | 25 | .include "../../x11/xextproto/buildlink3.mk" |
26 | | | 26 | |
27 | .endif | | 27 | .endif |
28 | | | 28 | |
29 | .if !empty(PKG_OPTIONS:Mxbeeb-roms) | | 29 | .if !empty(PKG_OPTIONS:Mxbeeb-roms) |
30 | PLIST.xbeeb-roms= yes | | 30 | PLIST.xbeeb-roms= yes |
31 | LICENSE= xbeeb-pseudolicense | | 31 | LICENSE= generic-nonlicense |
32 | RESTRICTED= No redistribution allowed | | 32 | RESTRICTED= No redistribution allowed |
33 | NO_BIN_ON_CDROM= ${RESTRICTED} | | 33 | NO_BIN_ON_CDROM= ${RESTRICTED} |
34 | NO_BIN_ON_FTP= ${RESTRICTED} | | 34 | NO_BIN_ON_FTP= ${RESTRICTED} |
35 | NO_SRC_ON_CDROM= ${RESTRICTED} | | 35 | NO_SRC_ON_CDROM= ${RESTRICTED} |
36 | NO_SRC_ON_FTP= ${RESTRICTED} | | 36 | NO_SRC_ON_FTP= ${RESTRICTED} |
37 | | | 37 | |
38 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} OS-1.2.rom BASIC2.rom | | 38 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} OS-1.2.rom BASIC2.rom |
39 | SITES.BASIC2.rom= http://bbc.nvg.org/rom/Acorn/lang/ | | 39 | SITES.BASIC2.rom= http://bbc.nvg.org/rom/Acorn/lang/ |
40 | SITES.OS-1.2.rom= http://bbc.nvg.org/rom/Acorn/os/ | | 40 | SITES.OS-1.2.rom= http://bbc.nvg.org/rom/Acorn/os/ |
41 | | | 41 | |
42 | ROMDIR=${PREFIX}/${XBEEBROOT}/roms | | 42 | ROMDIR=${PREFIX}/${XBEEBROOT}/roms |
43 | post-install: | | 43 | post-install: |
44 | ${INSTALL_DATA} ${DISTDIR}/OS-1.2.rom ${DESTDIR}${ROMDIR}/OS1.2.rom | | 44 | ${INSTALL_DATA} ${DISTDIR}/OS-1.2.rom ${DESTDIR}${ROMDIR}/OS1.2.rom |