summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/fmsx/Makefile12
-rw-r--r--emulators/fmsx/pkg-plist30
2 files changed, 23 insertions, 19 deletions
diff --git a/emulators/fmsx/Makefile b/emulators/fmsx/Makefile
index 6b19ff5..6c66f74 100644
--- a/emulators/fmsx/Makefile
+++ b/emulators/fmsx/Makefile
@@ -23,7 +23,8 @@ USE_XLIB= yes
RESTRICTED= Legal status of distributed ROM images unclear
WRKSRC= ${WRKDIR}/MSX
-OPTIONS= BPP16 "With BPP16" Off \
+OPTIONS= BPP8 "With BPP8" Off \
+ BPP16 "With BPP16" Off \
BPP24 "With BPP24" Off \
BPP32 "With BPP32 (see pkg-message)" On
@@ -39,6 +40,9 @@ post-patch:
.ifdef(WITH_BPP16)
${REINPLACE_CMD} -e 's/%%BPP%%/BPP16/' ${WRKSRC}/Makefile
.endif
+.ifdef(WITH_BPP8)
+ ${REINPLACE_CMD} -e 's/%%BPP%%/BPP8/' ${WRKSRC}/Makefile
+.endif
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/fmsx ${PREFIX}/bin
@@ -47,10 +51,10 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rddsk ${PREFIX}/bin/fmsx-rddsk
${INSTALL_PROGRAM} ${WRKSRC}/wrdsk ${PREFIX}/bin/fmsx-wrdsk
${MKDIR} ${PREFIX}/share/fmsx
- ${INSTALL_DATA} ${WRKSRC}/*.ROM ${WRKSRC}/*.FNT ${PREFIX}/share/fmsx
+ ${INSTALL_DATA} ${WRKSRC}/*.ROM ${WRKSRC}/*.FNT ${DATADIR}
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/fmsx
- ${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/fmsx
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/emulators/fmsx/pkg-plist b/emulators/fmsx/pkg-plist
index fa11aec..0ca32b1 100644
--- a/emulators/fmsx/pkg-plist
+++ b/emulators/fmsx/pkg-plist
@@ -2,18 +2,18 @@ bin/fmsx
bin/fmsx.bin
bin/fmsx-rddsk
bin/fmsx-wrdsk
-share/fmsx/CMOS.ROM
-share/fmsx/CYRILLIC.FNT
-share/fmsx/DISK.ROM
-share/fmsx/FMPAC.ROM
-share/fmsx/ITALIC.FNT
-share/fmsx/KANJI.ROM
-share/fmsx/MSX.ROM
-share/fmsx/MSX2.ROM
-share/fmsx/MSX2EXT.ROM
-share/fmsx/MSX2P.ROM
-share/fmsx/MSX2PEXT.ROM
-share/fmsx/PAINTER.ROM
-%%PORTDOCS%%share/doc/fmsx/fMSX.html
-%%PORTDOCS%%@dirrm share/fmsx
-%%PORTDOCS%%@dirrm share/doc/fmsx
+%%DATADIR%%/CMOS.ROM
+%%DATADIR%%/CYRILLIC.FNT
+%%DATADIR%%/DISK.ROM
+%%DATADIR%%/FMPAC.ROM
+%%DATADIR%%/ITALIC.FNT
+%%DATADIR%%/KANJI.ROM
+%%DATADIR%%/MSX.ROM
+%%DATADIR%%/MSX2.ROM
+%%DATADIR%%/MSX2EXT.ROM
+%%DATADIR%%/MSX2P.ROM
+%%DATADIR%%/MSX2PEXT.ROM
+%%DATADIR%%/PAINTER.ROM
+%%PORTDOCS%%%%DOCSDIR%%/fMSX.html
+%%PORTDOCS%%@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
OpenPOWER on IntegriCloud