aboutsummaryrefslogtreecommitdiff
path: root/emulators/hatari
diff options
context:
space:
mode:
authorArmin Pirkovitsch <sperber@FreeBSD.org>2012-07-19 17:27:33 +0000
committerArmin Pirkovitsch <sperber@FreeBSD.org>2012-07-19 17:27:33 +0000
commitb955182027cb5564d00fac7e8c22a78d72f3230b (patch)
treeb858e952b0be7ab64a3af6ac169221461c4450f9 /emulators/hatari
parentd892838835e4965ff3d59dccac594dc118ac208a (diff)
downloadports-b955182027cb5564d00fac7e8c22a78d72f3230b.tar.gz
ports-b955182027cb5564d00fac7e8c22a78d72f3230b.zip
Notes
Diffstat (limited to 'emulators/hatari')
-rw-r--r--emulators/hatari/Makefile24
-rw-r--r--emulators/hatari/distinfo4
-rw-r--r--emulators/hatari/pkg-descr2
-rw-r--r--emulators/hatari/pkg-plist1
4 files changed, 18 insertions, 13 deletions
diff --git a/emulators/hatari/Makefile b/emulators/hatari/Makefile
index 10c485d6620f..5295a330141a 100644
--- a/emulators/hatari/Makefile
+++ b/emulators/hatari/Makefile
@@ -6,21 +6,22 @@
#
PORTNAME= hatari
-PORTVERSION= 1.5.0
-PORTREVISION= 2
+PORTVERSION= 1.6.1
CATEGORIES= emulators
-MASTER_SITES= BERLIOS
+MASTER_SITES= http://download.tuxfamily.org/hatari/%SUBDIR%/
+MASTER_SITE_SUBDIR= ${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An Atari ST emulator
-LICENSE= GPLv2 GPLv3
-LICENSE_COMB= dual
+LICENSE= GPLv2 # (or later)
BUILD_DEPENDS= portaudio>=19:${PORTSDIR}/audio/portaudio2
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
RUN_DEPENDS= portaudio>=19:${PORTSDIR}/audio/portaudio2
+OPTIONS_DEFINE= DOCS
+
USE_BZIP2= yes
USE_GNOME= pygtk2
USE_SDL= sdl
@@ -41,11 +42,14 @@ CFLAGS+= -I${LOCALBASE}/include/portaudio2
PA2_INCLUDE_DIR=-I${LOCALBASE}/include/portaudio2
PA2_LIBRARY= ${LOCALBASE}/lib/portaudio2/libportaudio.so
+.include <bsd.port.options.mk>
+
post-patch:
- @${FIND} ${WRKSRC} -name "*.1" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|^/etc|${PREFIX}/etc| ; \
- s| (or /usr.*|| ; \
- s|/usr/share|${PREFIX}/share|'
+.for file 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}/${file}
+.endfor
@${REINPLACE_CMD} -e '/doc/s|^add_|#add_|' \
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e '/DESTINATION/s|/icons/.*)|/pixmaps)|' \
@@ -59,7 +63,7 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1.gz ${MANPREFIX}/man/man1
@${MKDIR} ${MANPREFIX}/man/fr/man1
${INSTALL_MAN} ${WRKSRC}/doc/fr/${PORTNAME}.1.gz ${MANPREFIX}/man/fr/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
diff --git a/emulators/hatari/distinfo b/emulators/hatari/distinfo
index 15e4eda85cb0..7e53d7d865ca 100644
--- a/emulators/hatari/distinfo
+++ b/emulators/hatari/distinfo
@@ -1,2 +1,2 @@
-SHA256 (hatari-1.5.0.tar.bz2) = 0cb9c627ea6942bc60908c3a59b4b5c86a54e5bd0551cd95d8cff76bbde61e7f
-SIZE (hatari-1.5.0.tar.bz2) = 1570048
+SHA256 (hatari-1.6.1.tar.bz2) = f6142b4d0c8f1731f990fcc4cf125d9b7a1822384c46e6af79058a461443e853
+SIZE (hatari-1.6.1.tar.bz2) = 1777736
diff --git a/emulators/hatari/pkg-descr b/emulators/hatari/pkg-descr
index 62ed210cc422..4914722a1c97 100644
--- a/emulators/hatari/pkg-descr
+++ b/emulators/hatari/pkg-descr
@@ -1,4 +1,4 @@
Hatari is an Atari ST emulator. It tries to emulate the hardware of a ST as
close as possible so that it is able to run most of the old ST games and demos.
-WWW: http://hatari.berlios.de/
+WWW: http://hatari.tuxfamily.org/
diff --git a/emulators/hatari/pkg-plist b/emulators/hatari/pkg-plist
index 477025360186..05c0c1abe49e 100644
--- a/emulators/hatari/pkg-plist
+++ b/emulators/hatari/pkg-plist
@@ -35,6 +35,7 @@ share/applications/hatariui.desktop
%%DATADIR%%/hatariui/README
%%DATADIR%%/hatariui/TODO
%%DATADIR%%/hatariui/config.py
+%%DATADIR%%/hatariui/conftypes.py
%%DATADIR%%/hatariui/debugui.py
%%DATADIR%%/hatariui/dialogs.py
%%DATADIR%%/hatariui/hatari-icon.png