View | Details | Raw Unified | Return to bug 203245 | Differences between
and this patch

Collapse All | Expand All

(-)emulators/hatari/Makefile (-16 / +19 lines)
Lines 2-11 Link Here
2
# $FreeBSD: head/emulators/hatari/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
2
# $FreeBSD: head/emulators/hatari/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
3
3
4
PORTNAME=	hatari
4
PORTNAME=	hatari
5
PORTVERSION=	1.8.0
5
PORTVERSION=	1.9.0
6
PORTREVISION=	4
7
CATEGORIES=	emulators
6
CATEGORIES=	emulators
8
MASTER_SITES=	http://download.tuxfamily.org/hatari/${PORTVERSION}/
7
MASTER_SITES=	http://download.tuxfamily.org/hatari/%SUBDIR%/
8
MASTER_SITE_SUBDIR=	${PORTVERSION}
9
9
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Atari ST emulator
11
COMMENT=	Atari ST emulator
Lines 15-28 Link Here
15
LIB_DEPENDS=	libportaudio.so:${PORTSDIR}/audio/portaudio \
15
LIB_DEPENDS=	libportaudio.so:${PORTSDIR}/audio/portaudio \
16
		libpng.so:${PORTSDIR}/graphics/png
16
		libpng.so:${PORTSDIR}/graphics/png
17
17
18
USES=		cmake readline tar:bzip2
18
USES=		cmake desktop-file-utils python readline shared-mime-info \
19
		shebangfix tar:bzip2
20
SHEBANG_FILES=	tools/atari-convert-dir.py
19
USE_GNOME=	pygtk2
21
USE_GNOME=	pygtk2
20
USE_SDL=	sdl
22
CMAKE_ARGS=	-DETCDIR:PATH="${PREFIX}etc" \
21
CMAKE_ARGS=	-DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \
23
		-DMANDIR:PATH="man/man1" \
22
		-DETCDIR:STRING="${PREFIX}/etc" \
24
		-DREADLINE_FOUND:BOOL=ON
23
		-DMANDIR:STRING="man/man1"
25
INSTALLS_ICONS=	yes
24
26
25
OPTIONS_DEFINE=	DOCS
27
OPTIONS_DEFINE=		DEBUG DOCS SDL2
28
29
DEBUG_CFLAGS_OFF=	-DNDEBUG
30
SDL2_DESC=		SDL2 libraries support
31
SDL2_USE=		sdl=sdl2
32
SDL2_USE_OFF=		sdl=sdl
33
SDL2_CMAKE_ON=		-DENABLE_SDL2:BOOL=ON
26
34
27
post-patch:
35
post-patch:
28
.for i in doc/hatari.1 doc/fr/hatari.1 tools/hconsole/hconsole.1
36
.for i in doc/hatari.1 doc/fr/hatari.1 tools/hconsole/hconsole.1
Lines 30-44 Link Here
30
		's|^/etc/hatari.cfg .*|${PREFIX}/etc/hatari.cfg| ; \
38
		's|^/etc/hatari.cfg .*|${PREFIX}/etc/hatari.cfg| ; \
31
		 s|/usr/share|${PREFIX}/share|' ${WRKSRC}/${i}
39
		 s|/usr/share|${PREFIX}/share|' ${WRKSRC}/${i}
32
.endfor
40
.endfor
33
	@${REINPLACE_CMD} -e '/DESTINATION/s|/icons/.*)|/pixmaps)|' \
34
		${WRKSRC}/python-ui/CMakeLists.txt
35
36
post-build:
37
	@cd ${WRKSRC}/doc/fr && ${GZIP_CMD} -c ${PORTNAME}.1 > ${PORTNAME}.1.gz
38
41
39
post-install:
42
post-install:
40
	@${MKDIR} ${STAGEDIR}${MANPREFIX}/man/fr/man1
43
	@${MKDIR} ${STAGEDIR}${MANPREFIX}/man/fr/man1
41
	(cd ${WRKSRC}/doc/fr && ${INSTALL_MAN} ${PORTNAME}.1.gz \
44
	(cd ${WRKSRC}/doc/fr && ${INSTALL_MAN} hatari.1 \
42
		${STAGEDIR}${MANPREFIX}/man/fr/man1)
45
		${STAGEDIR}${MANPREFIX}/man/fr/man1)
43
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/fr
46
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/fr
44
	(cd ${WRKSRC}/doc/fr && ${INSTALL_DATA} *.txt \
47
	(cd ${WRKSRC}/doc/fr && ${INSTALL_DATA} *.txt \
(-)emulators/hatari/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (hatari-1.8.0.tar.bz2) = 7ecf486ba578e3b4d7a3d3e86ef3e879d5e5611b39c2504e38ccafdaacb5ffeb
1
SHA256 (hatari-1.9.0.tar.bz2) = b2b56e6cbe7f8769a5e8b1d96599f392d9351b44cacf959da6905da06d30e992
2
SIZE (hatari-1.8.0.tar.bz2) = 1985358
2
SIZE (hatari-1.9.0.tar.bz2) = 2379016
(-)emulators/hatari/files/patch-share__CMakeLists.txt (+24 lines)
Line 0 Link Here
1
--- share/CMakeLists.txt.orig	2015-09-10 21:16:03 UTC
2
+++ share/CMakeLists.txt
3
@@ -5,8 +5,8 @@ foreach(size 32x32 48x48 64x64 128x128 2
4
 	install(FILES icons/hicolor/${size}/mimetypes/application-x-st-disk-image.png
5
 		DESTINATION ${ICONDIR}/${size}/mimetypes)
6
 	foreach(type vnd.msa vnd.fastcopy x-stx)
7
-		install(CODE "execute_process(COMMAND ln -sf application-x-st-disk-image.png
8
-				${CMAKE_INSTALL_PREFIX}/${ICONDIR}/${size}/mimetypes/application-${type}-disk-image.png)
9
+		install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink application-x-st-disk-image.png application-${type}-disk-image.png
10
+				WORKING_DIRECTORY \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${ICONDIR}/${size}/mimetypes)
11
 				")
12
 	endforeach()
13
 endforeach()
14
@@ -16,8 +16,8 @@ install(FILES icons/hicolor/scalable/app
15
 install(FILES icons/hicolor/scalable/mimetypes/application-x-st-disk-image.svg
16
 	DESTINATION ${ICONDIR}/scalable/mimetypes)
17
 foreach(type vnd.msa vnd.fastcopy x-stx)
18
-	install(CODE "execute_process(COMMAND ln -sf application-x-st-disk-image.svg
19
-			${CMAKE_INSTALL_PREFIX}/${ICONDIR}/scalable/mimetypes/application-${type}-disk-image.svg)
20
+	install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink application-x-st-disk-image.svg application-${type}-disk-image.svg
21
+			WORKING_DIRECTORY \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${ICONDIR}/scalable/mimetypes)
22
 			")
23
 endforeach()
24
 install(FILES mime/packages/hatari.xml DESTINATION share/mime/packages)
(-)emulators/hatari/pkg-plist (-2 / +35 lines)
Lines 1-3 Link Here
1
bin/atari-convert-dir
1
bin/atari-hd-image
2
bin/atari-hd-image
2
bin/gst2ascii
3
bin/gst2ascii
3
bin/hatari
4
bin/hatari
Lines 6-11 Link Here
6
bin/hmsa
7
bin/hmsa
7
bin/zip2st
8
bin/zip2st
8
man/fr/man1/hatari.1.gz
9
man/fr/man1/hatari.1.gz
10
man/man1/atari-convert-dir.1.gz
9
man/man1/atari-hd-image.1.gz
11
man/man1/atari-hd-image.1.gz
10
man/man1/gst2ascii.1.gz
12
man/man1/gst2ascii.1.gz
11
man/man1/hatari.1.gz
13
man/man1/hatari.1.gz
Lines 14-19 Link Here
14
man/man1/hconsole.1.gz
16
man/man1/hconsole.1.gz
15
man/man1/hmsa.1.gz
17
man/man1/hmsa.1.gz
16
man/man1/zip2st.1.gz
18
man/man1/zip2st.1.gz
19
share/applications/hatari.desktop
17
share/applications/hatariui.desktop
20
share/applications/hatariui.desktop
18
%%PORTDOCS%%%%DOCSDIR%%/authors.txt
21
%%PORTDOCS%%%%DOCSDIR%%/authors.txt
19
%%PORTDOCS%%%%DOCSDIR%%/compatibility.html
22
%%PORTDOCS%%%%DOCSDIR%%/compatibility.html
Lines 50-56 Link Here
50
%%DATADIR%%/hatariui/debugui.py
53
%%DATADIR%%/hatariui/debugui.py
51
%%DATADIR%%/hatariui/dialogs.py
54
%%DATADIR%%/hatariui/dialogs.py
52
%%DATADIR%%/hatariui/hatari-icon.png
55
%%DATADIR%%/hatariui/hatari-icon.png
53
%%DATADIR%%/hatariui/hatari.png
56
%%DATADIR%%/hatariui/hatari-logo.png
54
%%DATADIR%%/hatariui/hatari.py
57
%%DATADIR%%/hatariui/hatari.py
55
%%DATADIR%%/hatariui/hatariui.py
58
%%DATADIR%%/hatariui/hatariui.py
56
%%DATADIR%%/hatariui/release-notes.txt
59
%%DATADIR%%/hatariui/release-notes.txt
Lines 61-64 Link Here
61
%%DATADIR%%/hconsole/hconsole.py
64
%%DATADIR%%/hconsole/hconsole.py
62
%%DATADIR%%/hconsole/release-notes.txt
65
%%DATADIR%%/hconsole/release-notes.txt
63
%%DATADIR%%/tos.img
66
%%DATADIR%%/tos.img
64
share/pixmaps/hatari-icon.png
67
share/icons/hicolor/128x128/apps/hatari.png
68
share/icons/hicolor/128x128/mimetypes/application-vnd.fastcopy-disk-image.png
69
share/icons/hicolor/128x128/mimetypes/application-vnd.msa-disk-image.png
70
share/icons/hicolor/128x128/mimetypes/application-x-st-disk-image.png
71
share/icons/hicolor/128x128/mimetypes/application-x-stx-disk-image.png
72
share/icons/hicolor/256x256/apps/hatari.png
73
share/icons/hicolor/256x256/mimetypes/application-vnd.fastcopy-disk-image.png
74
share/icons/hicolor/256x256/mimetypes/application-vnd.msa-disk-image.png
75
share/icons/hicolor/256x256/mimetypes/application-x-st-disk-image.png
76
share/icons/hicolor/256x256/mimetypes/application-x-stx-disk-image.png
77
share/icons/hicolor/32x32/apps/hatari.png
78
share/icons/hicolor/32x32/mimetypes/application-vnd.fastcopy-disk-image.png
79
share/icons/hicolor/32x32/mimetypes/application-vnd.msa-disk-image.png
80
share/icons/hicolor/32x32/mimetypes/application-x-st-disk-image.png
81
share/icons/hicolor/32x32/mimetypes/application-x-stx-disk-image.png
82
share/icons/hicolor/48x48/apps/hatari.png
83
share/icons/hicolor/48x48/mimetypes/application-vnd.fastcopy-disk-image.png
84
share/icons/hicolor/48x48/mimetypes/application-vnd.msa-disk-image.png
85
share/icons/hicolor/48x48/mimetypes/application-x-st-disk-image.png
86
share/icons/hicolor/48x48/mimetypes/application-x-stx-disk-image.png
87
share/icons/hicolor/64x64/apps/hatari.png
88
share/icons/hicolor/64x64/mimetypes/application-vnd.fastcopy-disk-image.png
89
share/icons/hicolor/64x64/mimetypes/application-vnd.msa-disk-image.png
90
share/icons/hicolor/64x64/mimetypes/application-x-st-disk-image.png
91
share/icons/hicolor/64x64/mimetypes/application-x-stx-disk-image.png
92
share/icons/hicolor/scalable/apps/hatari.svg
93
share/icons/hicolor/scalable/mimetypes/application-vnd.fastcopy-disk-image.svg
94
share/icons/hicolor/scalable/mimetypes/application-vnd.msa-disk-image.svg
95
share/icons/hicolor/scalable/mimetypes/application-x-st-disk-image.svg
96
share/icons/hicolor/scalable/mimetypes/application-x-stx-disk-image.svg
97
share/mime/packages/hatari.xml

Return to bug 203245