1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/emulators/teo/Makefile
Nuno Teixeira 3572ca3e01 */*: Bump consumers of x11-toolkits/gtk30
New version of gtk3 in tree
2023-12-23 18:14:14 +00:00

39 lines
1.0 KiB
Makefile

PORTNAME= teo
PORTVERSION= 1.8.4
DISTVERSIONSUFFIX= -src
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= SF/teoemulator/linux/${PORTVERSION}
MAINTAINER= nanard@free.fr
COMMENT= Thomson TO8 emulator
WWW= https://sourceforge.net/projects/teoemulator/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/licence-en.txt
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libpng.so:graphics/png
USES= gmake gnome pkgconfig xorg
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_XORG= x11 xext
ALL_TARGET= default
WRKSRC= ${WRKDIR}/teo
post-patch:
@${ECHO_CMD} "MAKEFILE_INC = makefile.lnx" > ${WRKSRC}/Makefile
@${ECHO_CMD} "include makefile.all" >> ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|"system/|"${DATADIR}/|' \
${WRKSRC}/src/hardware.c ${WRKSRC}/src/linux/udebug/udtoolb.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/teo ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}/rom
${INSTALL_DATA} ${WRKSRC}/system/rom/* ${STAGEDIR}${DATADIR}/rom
@${MKDIR} ${STAGEDIR}${DATADIR}/icons
${INSTALL_DATA} ${WRKSRC}/system/icons/* ${STAGEDIR}${DATADIR}/icons
.include <bsd.port.mk>