mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 14:50:31 -04:00
This port builds only the generic Z80 emulator and installs various CP/M-80 disk images. The images can be copied into user directories and updated from within the emulation of with the cpmtools programs. The emulation covers CP-NET and MP/M-80 and addition to CP/M-1.4, CP/M-2.2, and CP/M-3.0. The port could be extended to install the full hardware emulation of some classic S-100 bus computers from ALTAIR, IMSAI, and Cromemco (including working emulation of the front panels).
23 lines
901 B
Text
23 lines
901 B
Text
--- cpmsim/srcsim/Makefile.bsd.orig 2021-01-06 16:07:39 UTC
|
|
+++ cpmsim/srcsim/Makefile.bsd
|
|
@@ -1,8 +1,8 @@
|
|
# system wide location for machines configuration files
|
|
-CONF=/usr/local/share/cpmsim/conf
|
|
+CONF=${PREFIX}/share/z80pack/conf
|
|
|
|
# system wide location for disk images
|
|
-DISKS=/usr/local/share/cpmsim/disks
|
|
+DISKS=${PREFIX}/share/z80pack/disks
|
|
|
|
CC = cc
|
|
|
|
@@ -10,7 +10,8 @@ CC = cc
|
|
#CFLAGS = -O3 -c -Wall -Wextra -Wno-self-assign -fstack-protector-all -D_FORTIFY_SOURCE=2 -DCONFDIR=\"${CONF}\" -DDISKSDIR=\"${DISKS}\"
|
|
|
|
# Production
|
|
-CFLAGS = -O3 -c -Wall -Wextra -Wno-self-assign -U_FORTIFY_SOURCE -DCONFDIR=\"${CONF}\" -DDISKSDIR=\"${DISKS}\"
|
|
+#CFLAGS = -O3 -c -Wall -Wextra -Wno-self-assign -U_FORTIFY_SOURCE -DCONFDIR=\"${CONF}\" -DDISKSDIR=\"${DISKS}\"
|
|
+CFLAGS = ${OPTFLAGS} -c -Wall -Wextra -Wno-self-assign -U_FORTIFY_SOURCE -DCONFDIR=\"${CONF}\" -DDISKSDIR=\"${DISKS}\"
|
|
|
|
LFLAGS =
|
|
|