emulators/pcemu: Fix obsolete (and now broken) font handling

Replace the now obsolete @fcfontdir keyword in the plist by
the appropriate handling with USES=fonts.
Reported by:	pkg-fallout
This commit is contained in:
Joerg Wunsch 2022-03-29 23:31:35 +02:00
parent fc9ca6bf90
commit 8c5fee5f14
3 changed files with 6 additions and 7 deletions

View File

@ -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>

View File

@ -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

View File

@ -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