1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/emulators/almostti/Makefile
Alexey Dokuchaev 85807442d5 Add a port of AlmostTI, simple emulator for Z80-based series of Texas
Instruments calculators, written by Marat Fayzullin and modified for
better Unix support by Doug Melton.

Our local modifications offer better keyboard mappings out of the box,
making it suitable as desktop calculator when you need something more
advanced than dc(1), bc(1), or your favorite language's REPL.

WWW: http://fms.komkon.org/ATI85/

TIMESTAMP (AlmostTI13-Unix-DougMelton-051409.tar.gz) = 1261815086
2017-04-26 09:10:00 +00:00

37 lines
1.0 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= almostti
PORTVERSION= 1.3
CATEGORIES= emulators
MASTER_SITES= http://fms.komkon.org/ATI85/
DISTNAME= AlmostTI13-Unix-DougMelton-051409
MAINTAINER= danfe@FreeBSD.org
COMMENT= Emulator for Z80 series of Texas Instruments calculators
USES= gmake
USE_XORG= x11 xext
WRKSRC= ${WRKDIR}/AlmostTI-DougMelton-Source
BUILD_WRKSRC= ${WRKSRC}/ATI85/Unix
DESKTOP_ENTRIES= "ATI85" "${COMMENT}" "ati85" "ati85" \
"Utility;Calculator;Emulator;" false
post-patch:
@${REINPLACE_CMD} -e 's,\./,${DATADIR}/,' ${WRKSRC}/ATI85/TI85.c
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ati85 ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
.for model in 82 83 83P 83SE 84SE 85 86
${INSTALL_DATA} ${WRKSRC}/ATI85/Maemo/Package/TI${model}.png \
${STAGEDIR}${DATADIR}
.endfor
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps
${INSTALL_DATA} ${WRKSRC}/ATI85/Maemo/Package/ati85-64x64.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps/ati85.png
.include <bsd.port.mk>