summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/pcemu/Makefile6
-rw-r--r--emulators/pcemu/files/patch-aa4
-rw-r--r--emulators/pcemu/pkg-plist3
3 files changed, 6 insertions, 7 deletions
diff --git a/emulators/pcemu/Makefile b/emulators/pcemu/Makefile
index 35b84a1364b3..09ec607f0950 100644
--- a/emulators/pcemu/Makefile
+++ b/emulators/pcemu/Makefile
@@ -2,7 +2,7 @@
PORTNAME= pcemu
PORTVERSION= 1.01b
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= emulators
MASTER_SITES= LOCAL/joerg
DISTNAME= pcemu1.01alpha
@@ -13,10 +13,10 @@ COMMENT= 8086 PC emulator, by David Hedley
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf
RUN_DEPENDS= mkfontscale:x11-fonts/mkfontscale
-USES= dos2unix xorg
+USES= dos2unix xorg fonts
USE_XORG= x11 xext
DOS2UNIX_FILES= programs/config.sys
-MAKE_ENV= FILESDIR=${FILESDIR} STAGEDIR=${STAGEDIR}
+MAKE_ENV= FILESDIR=${FILESDIR} STAGEDIR=${STAGEDIR} FONTSDIR=${FONTSDIR}
MAKE_ARGS= CC="${CC}"
.include <bsd.port.mk>
diff --git a/emulators/pcemu/files/patch-aa b/emulators/pcemu/files/patch-aa
index 91ccc06dbd69..58a0d5051b9e 100644
--- a/emulators/pcemu/files/patch-aa
+++ b/emulators/pcemu/files/patch-aa
@@ -42,7 +42,7 @@
+ install: pcemu bootstrapper
+ -mkdir -p ${STAGEDIR}/${LOCALPREFIX}/lib/pcemu \
+ ${STAGEDIR}/${LOCALPREFIX}/lib/pcemu/doc \
-+ ${STAGEDIR}/${LOCALPREFIX}/lib/pcemu/font \
++ ${STAGEDIR}${FONTSDIR} \
+ ${STAGEDIR}/${LOCALPREFIX}/lib/pcemu/C \
+ ${STAGEDIR}/${LOCALPREFIX}/bin
+ install -c -s pcemu ${STAGEDIR}/${LOCALPREFIX}/bin/
@@ -54,7 +54,7 @@
+ rm -f ${STAGEDIR}/${LOCALPREFIX}/lib/pcemu/doc/report.ps.gz
+ gzip --best < report.ps > ${STAGEDIR}/${LOCALPREFIX}/lib/pcemu/doc/report.ps.gz
+ rm -f ${STAGEDIR}/${LOCALPREFIX}/lib/pcemu/font/vga.pcf.Z
-+ bdftopcf vga.bdf | compress > ${STAGEDIR}/${LOCALPREFIX}/lib/pcemu/font/vga.pcf.Z
++ bdftopcf vga.bdf | compress > ${STAGEDIR}${FONTSDIR}/vga.pcf.Z
+ install -c -m 644 programs/vga50.com programs/config.sys \
+ programs/dumpdisk.exe programs/lredir.exe programs/emufs.sys \
+ ${STAGEDIR}/${LOCALPREFIX}/lib/pcemu/C
diff --git a/emulators/pcemu/pkg-plist b/emulators/pcemu/pkg-plist
index fdfbbe0e70b1..481dcda71527 100644
--- a/emulators/pcemu/pkg-plist
+++ b/emulators/pcemu/pkg-plist
@@ -6,11 +6,10 @@ lib/pcemu/doc/TODO
lib/pcemu/doc/README.FreeBSD
lib/pcemu/doc/lredir.readme
lib/pcemu/doc/report.ps.gz
-lib/pcemu/font/vga.pcf.Z
+%%FONTSDIR%%/vga.pcf.Z
lib/pcemu/C/vga50.com
lib/pcemu/C/config.sys
lib/pcemu/C/dumpdisk.exe
lib/pcemu/C/lredir.exe
lib/pcemu/C/emufs.sys
lib/pcemu/DriveA
-@fcfontsdir lib/pcemu/font