1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/emulators/fmsx/Makefile
Raphael Kubo da Costa 55060bd821 Fix do-install after r393228.
${WRKSRC}/fmsx does not exist, ${WRKDIR} is the right variable.
2015-12-04 16:50:29 +00:00

51 lines
1.5 KiB
Makefile

# Created by: dk
# $FreeBSD$
PORTNAME= fmsx
PORTVERSION= 4.2
CATEGORIES= emulators
MASTER_SITES= http://fms.komkon.org/fMSX/:code \
http://fms.komkon.org/fMSX/src/:rom
DISTFILES= fMSX${PORTVERSION:C/\.//}.zip:code \
MSX.ROM:rom MSX2.ROM:rom MSX2EXT.ROM:rom MSX2P.ROM:rom \
MSX2PEXT.ROM:rom FMPAC.ROM:rom DISK.ROM:rom MSXDOS2.ROM:rom \
PAINTER.ROM:rom KANJI.ROM:rom
DIST_SUBDIR= fmsx4
EXTRACT_ONLY= fMSX${PORTVERSION:C/\.//}.zip
MAINTAINER= dk@farm.org
COMMENT= Portable MSX/MSX2/MSX2+ Emulator
USE_XORG= x11 xext
USES= dos2unix gmake zip
DOS2UNIX_FILES= EMULib/Unix/LibUnix.c EMULib/Unix/NetUnix.c EMULib/Rules.gcc \
EMULib/Rules.Unix
RESTRICTED= Legal status of distributed ROM images unclear
NO_WRKSUBDIR= yes
SUB_FILES= ${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/fMSX/Unix
OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= BPP
OPTIONS_SINGLE_BPP= BPP8 BPP16 BPP24 BPP32
OPTIONS_DEFAULT= BPP32
BPP8_DESC= With BPP8
BPP16_DESC= With BPP16
BPP24_DESC= With BPP24
BPP32_DESC= With BPP32 (see pkg-message)
BPP8_CFLAGS= -DBPP8
BPP16_CFLAGS= -DBPP16
BPP24_CFLAGS= -DBPP24
BPP32_CFLAGS= -DBPP32
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/fmsx ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/fMSX/Unix/fmsx ${STAGEDIR}${PREFIX}/libexec/fmsx
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/ROMs/*.FNT ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.ROM ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/fMSX/*.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>