aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/fmsx/Makefile
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-08-09 23:48:55 +0800
committervs <vs@FreeBSD.org>2004-08-09 23:48:55 +0800
commitc92d8f8b6153976bd4dc2aa1329b78e0ca730dd8 (patch)
treea4cac4cd67f0c37da2404ba295e664d0fa883aca /emulators/fmsx/Makefile
parent2d1435987542a23b0dabe85266c8517fb7ac49b4 (diff)
downloadfreebsd-ports-gnome-c92d8f8b6153976bd4dc2aa1329b78e0ca730dd8.tar.gz
freebsd-ports-gnome-c92d8f8b6153976bd4dc2aa1329b78e0ca730dd8.tar.zst
freebsd-ports-gnome-c92d8f8b6153976bd4dc2aa1329b78e0ca730dd8.zip
Add BPP8-option
PR: ports/68925 Submitted by: Eugene Grosbein Approved by: maintainer timeout
Diffstat (limited to 'emulators/fmsx/Makefile')
-rw-r--r--emulators/fmsx/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/emulators/fmsx/Makefile b/emulators/fmsx/Makefile
index 6b19ff5bdebe..6c66f74e3a34 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>