1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/emulators/hatari/Makefile
Baptiste Daroussin 3fef6c52f0 Update portaudio to v19/Remove portaudio2 [1]
Chase portaudio change
Add patches from debian for games/cultivation
Add patches from upsteam for audio/rezound
Mark py-fastaudio as broken

Approved by:	maintainer
2015-05-30 20:39:12 +00:00

48 lines
1.3 KiB
Makefile

# Created by: Michael Neumann <mneumann@ntecs.de>
# $FreeBSD$
PORTNAME= hatari
PORTVERSION= 1.8.0
PORTREVISION= 4
CATEGORIES= emulators
MASTER_SITES= http://download.tuxfamily.org/hatari/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Atari ST emulator
LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio \
libpng.so:${PORTSDIR}/graphics/png
USES= cmake readline tar:bzip2
USE_GNOME= pygtk2
USE_SDL= sdl
CMAKE_ARGS= -DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \
-DETCDIR:STRING="${PREFIX}/etc" \
-DMANDIR:STRING="man/man1"
OPTIONS_DEFINE= DOCS
post-patch:
.for i in doc/hatari.1 doc/fr/hatari.1 tools/hconsole/hconsole.1
@${REINPLACE_CMD} -e \
's|^/etc/hatari.cfg .*|${PREFIX}/etc/hatari.cfg| ; \
s|/usr/share|${PREFIX}/share|' ${WRKSRC}/${i}
.endfor
@${REINPLACE_CMD} -e '/DESTINATION/s|/icons/.*)|/pixmaps)|' \
${WRKSRC}/python-ui/CMakeLists.txt
post-build:
@cd ${WRKSRC}/doc/fr && ${GZIP_CMD} -c ${PORTNAME}.1 > ${PORTNAME}.1.gz
post-install:
@${MKDIR} ${STAGEDIR}${MANPREFIX}/man/fr/man1
(cd ${WRKSRC}/doc/fr && ${INSTALL_MAN} ${PORTNAME}.1.gz \
${STAGEDIR}${MANPREFIX}/man/fr/man1)
@${MKDIR} ${STAGEDIR}${DOCSDIR}/fr
(cd ${WRKSRC}/doc/fr && ${INSTALL_DATA} *.txt \
${STAGEDIR}${DOCSDIR}/fr)
.include <bsd.port.mk>