View | Details | Raw Unified | Return to bug 108864
Collapse All | Expand All

(-)astro/google-earth/Makefile (-10 / +18 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	google-earth
8
PORTNAME=	google-earth
9
PORTVERSION=	4.0.2414
9
PORTVERSION=	4.0.2735
10
CATEGORIES=	astro deskutils
10
CATEGORIES=	astro deskutils
11
MASTER_SITES=	http://dl.google.com/earth/GE${PORTVERSION:C/\..*//g}/
11
MASTER_SITES=	http://dl.google.com/earth/GE${PORTVERSION:C/\..*//g}/
12
DISTFILES=	${TARGET_DISTFILE}
12
DISTFILES=	${TARGET_DISTFILE}
Lines 15-21 Link Here
15
MAINTAINER=	flz@FreeBSD.org
15
MAINTAINER=	flz@FreeBSD.org
16
COMMENT=	Explore, Search and Discover
16
COMMENT=	Explore, Search and Discover
17
17
18
BUILD_DEPENDS=	unmakeself:${PORTSDIR}/archivers/unmakeself
18
EXTRACT_DEPENDS=	unmakeself:${PORTSDIR}/archivers/unmakeself
19
RUN_DEPENDS=	update-mime-database:${PORTSDIR}/misc/shared-mime-info
19
RUN_DEPENDS=	update-mime-database:${PORTSDIR}/misc/shared-mime-info
20
20
21
# Current version of Google Earth might not be vulnerable anymore.
21
# Current version of Google Earth might not be vulnerable anymore.
Lines 25-31 Link Here
25
25
26
RESTRICTED=	Not sure about redistribution rights
26
RESTRICTED=	Not sure about redistribution rights
27
27
28
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\..*//g}/
28
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\..*//g}
29
29
30
USE_LINUX=	yes
30
USE_LINUX=	yes
31
USE_GNOME=	desktopfileutils
31
USE_GNOME=	desktopfileutils
Lines 52-79 Link Here
52
		${FETCH_CMD} ${FETCH_BEFORE_ARGS} -1 ${MASTER_SITES:S|$|${REAL_DISTFILE}|g} ${FETCH_AFTER_ARGS}; \
52
		${FETCH_CMD} ${FETCH_BEFORE_ARGS} -1 ${MASTER_SITES:S|$|${REAL_DISTFILE}|g} ${FETCH_AFTER_ARGS}; \
53
	fi
53
	fi
54
54
55
do-build:
55
do-extract:
56
	@${MKDIR} ${WRKSRC}
56
	@${MKDIR} ${WRKSRC}
57
	@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
57
	@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
58
	@cd ${WRKSRC} && ${UNMAKESELF} ${DISTFILES} && ${RM} -f ${DISTFILES}
58
	@cd ${WRKSRC} && ${UNMAKESELF} ${DISTFILES} && ${RM} -f ${DISTFILES}
59
	@cd ${WRKSRC} && ${TAR} xf googleearth-data.tar && ${RM} -f googleearth-data.tar
59
	@cd ${WRKSRC} && ${TAR} -xf googleearth-data.tar && ${RM} -f googleearth-data.tar
60
	@cd ${WRKSRC} && ${TAR} xf googleearth-linux-x86.tar && ${RM} -f googleearth-linux-x86.tar
60
	@cd ${WRKSRC} && ${TAR} -xf googleearth-linux-x86.tar && ${RM} -f googleearth-linux-x86.tar
61
	@if [ `${ID} -u` = 0 ]; then \
62
		${CHMOD} -R ug-s ${WRKDIR}; \
63
		${CHOWN} -h -R 0:0 ${WRKDIR}; \
64
	fi
65
66
do-patch:
61
	@${REINPLACE_CMD} -i "" -e 's|^# Set the home.*|GOOGLEEARTH_DATA_PATH=${DATADIR}|' ${WRKSRC}/bin/googleearth
67
	@${REINPLACE_CMD} -i "" -e 's|^# Set the home.*|GOOGLEEARTH_DATA_PATH=${DATADIR}|' ${WRKSRC}/bin/googleearth
62
	@${REINPLACE_CMD} -i "" -e "s|^# Let's boogie.*|rm -f \$${HOME}/.googleearth/instance-running-lock|" ${WRKSRC}/bin/googleearth
68
	@${REINPLACE_CMD} -i "" -e "s|^# Let's boogie.*|rm -f \$${HOME}/.googleearth/instance-running-lock|" ${WRKSRC}/bin/googleearth
63
	@${REINPLACE_CMD} -i "" -e 's/^TMPPATH.*/exit 0/' ${WRKSRC}/postinstall.sh
69
	@${REINPLACE_CMD} -i "" -e 's/^TMPPATH.*/exit 0/' ${WRKSRC}/postinstall.sh
64
	@${REINPLACE_CMD} -i "" -e 's|\"\$$SETUP_INSTALLPATH/|\"${WRKSRC}/|' ${WRKSRC}/postinstall.sh
70
	@${REINPLACE_CMD} -i "" -e 's|\"\$$SETUP_INSTALLPATH/|\"${WRKSRC}/|' ${WRKSRC}/postinstall.sh
65
	@${REINPLACE_CMD} -i "" -e 's|\$$SETUP_INSTALLPATH/googleearth |${PREFIX}/bin/googleearth |' ${WRKSRC}/postinstall.sh
71
	@${REINPLACE_CMD} -i "" -e 's|\$$SETUP_INSTALLPATH/googleearth |${PREFIX}/bin/googleearth |' ${WRKSRC}/postinstall.sh
72
73
do-build:
66
	@${SETENV} SETUP_INSTALLPATH=${DATADIR} ${WRKSRC}/postinstall.sh
74
	@${SETENV} SETUP_INSTALLPATH=${DATADIR} ${WRKSRC}/postinstall.sh
67
	@cd ${WRKSRC} && ${RM} -rf setup.* preuninstall.sh postinstall.sh
75
	@cd ${WRKSRC} && ${RM} -rf setup.* preuninstall.sh postinstall.sh
68
	@${CHOWN} -R ${SHAREDOWN}:${SHAREDGRP} ${WRKSRC}
69
76
70
do-install:
77
do-install:
71
	${MKDIR} ${DATADIR}
78
	${MKDIR} ${DATADIR}
72
	${INSTALL_DATA} ${WRKSRC}/googleearth-mimetypes.xml ${PREFIX}/share/mime/packages/
79
	${INSTALL_DATA} ${WRKSRC}/googleearth-mimetypes.xml ${PREFIX}/share/mime/packages/
73
	${INSTALL_DATA} ${WRKSRC}/googleearth.desktop ${PREFIX}/share/applications/
80
	${INSTALL_DATA} ${WRKSRC}/googleearth.desktop ${PREFIX}/share/applications/
74
	${CP} -r ${WRKSRC}/* ${DATADIR}
81
	${CP} -R -p ${WRKSRC}/* ${DATADIR}
75
	@${RM} -f ${DATADIR}/googleearth-mimetypes.xml
82
	@${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
76
	@${RM} -f ${DATADIR}/googleearth.desktop
83
	@${RM} -f ${DATADIR}/googleearth-mimetypes.xml \
84
		${DATADIR}/googleearth.desktop
77
	${LN} -sf ${DATADIR}/bin/googleearth ${PREFIX}/bin/
85
	${LN} -sf ${DATADIR}/bin/googleearth ${PREFIX}/bin/
78
	-@update-mime-database ${PREFIX}/share/mime
86
	-@update-mime-database ${PREFIX}/share/mime
79
	-@update-desktop-database
87
	-@update-desktop-database
(-)astro/google-earth/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (GoogleEarthLinux-4.0.2414.bin) = f666eca674b77104df9e701cbc0cc206
1
MD5 (GoogleEarthLinux-4.0.2735.bin) = 3a4051c185afc719bf807a4a693c44b0
2
SHA256 (GoogleEarthLinux-4.0.2414.bin) = 7b49f2dd3638e3c3f96505035330fd32cf1aef04c639f1c8f4faa11387098097
2
SHA256 (GoogleEarthLinux-4.0.2735.bin) = 96b1870f9a8c131bf94f726c22b3f547503c1af21e136e7e8a3d0198e4317f9d
3
SIZE (GoogleEarthLinux-4.0.2414.bin) = 21466938
3
SIZE (GoogleEarthLinux-4.0.2735.bin) = 21607408
(-)astro/google-earth/pkg-plist (+33 lines)
Lines 214-219 Link Here
214
%%DATADIR%%/res/paddle/blu-square.png
214
%%DATADIR%%/res/paddle/blu-square.png
215
%%DATADIR%%/res/paddle/blu-stars-lv.png
215
%%DATADIR%%/res/paddle/blu-stars-lv.png
216
%%DATADIR%%/res/paddle/blu-stars.png
216
%%DATADIR%%/res/paddle/blu-stars.png
217
%%DATADIR%%/res/paddle/go-lv.png
218
%%DATADIR%%/res/paddle/go.png
217
%%DATADIR%%/res/paddle/grn-blank-lv.png
219
%%DATADIR%%/res/paddle/grn-blank-lv.png
218
%%DATADIR%%/res/paddle/grn-blank.png
220
%%DATADIR%%/res/paddle/grn-blank.png
219
%%DATADIR%%/res/paddle/grn-circle-lv.png
221
%%DATADIR%%/res/paddle/grn-circle-lv.png
Lines 224-229 Link Here
224
%%DATADIR%%/res/paddle/grn-square.png
226
%%DATADIR%%/res/paddle/grn-square.png
225
%%DATADIR%%/res/paddle/grn-stars-lv.png
227
%%DATADIR%%/res/paddle/grn-stars-lv.png
226
%%DATADIR%%/res/paddle/grn-stars.png
228
%%DATADIR%%/res/paddle/grn-stars.png
229
%%DATADIR%%/res/paddle/pause-lv.png
230
%%DATADIR%%/res/paddle/pause.png
227
%%DATADIR%%/res/paddle/purple-circle-lv.png
231
%%DATADIR%%/res/paddle/purple-circle-lv.png
228
%%DATADIR%%/res/paddle/purple-circle.png
232
%%DATADIR%%/res/paddle/purple-circle.png
229
%%DATADIR%%/res/paddle/purple-diamond-lv.png
233
%%DATADIR%%/res/paddle/purple-diamond-lv.png
Lines 240-245 Link Here
240
%%DATADIR%%/res/paddle/red-square.png
244
%%DATADIR%%/res/paddle/red-square.png
241
%%DATADIR%%/res/paddle/red-stars-lv.png
245
%%DATADIR%%/res/paddle/red-stars-lv.png
242
%%DATADIR%%/res/paddle/red-stars.png
246
%%DATADIR%%/res/paddle/red-stars.png
247
%%DATADIR%%/res/paddle/route.png
248
%%DATADIR%%/res/paddle/stop-lv.png
249
%%DATADIR%%/res/paddle/stop.png
243
%%DATADIR%%/res/paddle/wht-blank-lv.png
250
%%DATADIR%%/res/paddle/wht-blank-lv.png
244
%%DATADIR%%/res/paddle/wht-blank.png
251
%%DATADIR%%/res/paddle/wht-blank.png
245
%%DATADIR%%/res/paddle/wht-circle-lv.png
252
%%DATADIR%%/res/paddle/wht-circle-lv.png
Lines 1108-1113 Link Here
1108
%%DATADIR%%/res/palette-3.png
1115
%%DATADIR%%/res/palette-3.png
1109
%%DATADIR%%/res/palette-4.png
1116
%%DATADIR%%/res/palette-4.png
1110
%%DATADIR%%/res/palette-5.png
1117
%%DATADIR%%/res/palette-5.png
1118
%%DATADIR%%/res/progress0.png
1119
%%DATADIR%%/res/progress1.png
1120
%%DATADIR%%/res/progress2.png
1121
%%DATADIR%%/res/progress3.png
1122
%%DATADIR%%/res/progress4.png
1123
%%DATADIR%%/res/progress5.png
1124
%%DATADIR%%/res/progress6.png
1125
%%DATADIR%%/res/progress7.png
1111
%%DATADIR%%/res/pushpin/blue-pushpin.png
1126
%%DATADIR%%/res/pushpin/blue-pushpin.png
1112
%%DATADIR%%/res/pushpin/grn-pushpin.png
1127
%%DATADIR%%/res/pushpin/grn-pushpin.png
1113
%%DATADIR%%/res/pushpin/ltblu-pushpin.png
1128
%%DATADIR%%/res/pushpin/ltblu-pushpin.png
Lines 1414-1419 Link Here
1414
%%DATADIR%%/resources/dc_benchmark_mask.png
1429
%%DATADIR%%/resources/dc_benchmark_mask.png
1415
%%DATADIR%%/resources/de.locale/default_myplaces.kml
1430
%%DATADIR%%/resources/de.locale/default_myplaces.kml
1416
%%DATADIR%%/resources/de.locale/license.txt
1431
%%DATADIR%%/resources/de.locale/license.txt
1432
%%DATADIR%%/resources/de.locale/releasenotes.txt
1417
%%DATADIR%%/resources/decal.png
1433
%%DATADIR%%/resources/decal.png
1418
%%DATADIR%%/resources/descrip_center.png
1434
%%DATADIR%%/resources/descrip_center.png
1419
%%DATADIR%%/resources/descrip_l.png
1435
%%DATADIR%%/resources/descrip_l.png
Lines 1473-1490 Link Here
1473
%%DATADIR%%/resources/email_on.png
1489
%%DATADIR%%/resources/email_on.png
1474
%%DATADIR%%/resources/en.locale/default_myplaces.kml
1490
%%DATADIR%%/resources/en.locale/default_myplaces.kml
1475
%%DATADIR%%/resources/en.locale/license.txt
1491
%%DATADIR%%/resources/en.locale/license.txt
1492
%%DATADIR%%/resources/en.locale/releasenotes.txt
1476
%%DATADIR%%/resources/en_AU.locale/default_myplaces.kml
1493
%%DATADIR%%/resources/en_AU.locale/default_myplaces.kml
1477
%%DATADIR%%/resources/en_AU.locale/license.txt
1494
%%DATADIR%%/resources/en_AU.locale/license.txt
1495
%%DATADIR%%/resources/en_AU.locale/releasenotes.txt
1478
%%DATADIR%%/resources/en_CA.locale/default_myplaces.kml
1496
%%DATADIR%%/resources/en_CA.locale/default_myplaces.kml
1479
%%DATADIR%%/resources/en_CA.locale/license.txt
1497
%%DATADIR%%/resources/en_CA.locale/license.txt
1498
%%DATADIR%%/resources/en_CA.locale/releasenotes.txt
1480
%%DATADIR%%/resources/en_GB.locale/default_myplaces.kml
1499
%%DATADIR%%/resources/en_GB.locale/default_myplaces.kml
1481
%%DATADIR%%/resources/en_GB.locale/license.txt
1500
%%DATADIR%%/resources/en_GB.locale/license.txt
1501
%%DATADIR%%/resources/en_GB.locale/releasenotes.txt
1482
%%DATADIR%%/resources/en_NZ.locale/default_myplaces.kml
1502
%%DATADIR%%/resources/en_NZ.locale/default_myplaces.kml
1483
%%DATADIR%%/resources/en_NZ.locale/license.txt
1503
%%DATADIR%%/resources/en_NZ.locale/license.txt
1504
%%DATADIR%%/resources/en_NZ.locale/releasenotes.txt
1484
%%DATADIR%%/resources/en_US.locale/default_myplaces.kml
1505
%%DATADIR%%/resources/en_US.locale/default_myplaces.kml
1485
%%DATADIR%%/resources/en_US.locale/license.txt
1506
%%DATADIR%%/resources/en_US.locale/license.txt
1507
%%DATADIR%%/resources/en_US.locale/releasenotes.txt
1486
%%DATADIR%%/resources/es.locale/default_myplaces.kml
1508
%%DATADIR%%/resources/es.locale/default_myplaces.kml
1487
%%DATADIR%%/resources/es.locale/license.txt
1509
%%DATADIR%%/resources/es.locale/license.txt
1510
%%DATADIR%%/resources/es.locale/releasenotes.txt
1488
%%DATADIR%%/resources/fast-food.png
1511
%%DATADIR%%/resources/fast-food.png
1489
%%DATADIR%%/resources/flatarrow.png
1512
%%DATADIR%%/resources/flatarrow.png
1490
%%DATADIR%%/resources/fonts_mask.png
1513
%%DATADIR%%/resources/fonts_mask.png
Lines 1500-1505 Link Here
1500
%%DATADIR%%/resources/fr-layers.png
1523
%%DATADIR%%/resources/fr-layers.png
1501
%%DATADIR%%/resources/fr.locale/default_myplaces.kml
1524
%%DATADIR%%/resources/fr.locale/default_myplaces.kml
1502
%%DATADIR%%/resources/fr.locale/license.txt
1525
%%DATADIR%%/resources/fr.locale/license.txt
1526
%%DATADIR%%/resources/fr.locale/releasenotes.txt
1503
%%DATADIR%%/resources/french-flag.png
1527
%%DATADIR%%/resources/french-flag.png
1504
%%DATADIR%%/resources/full-picture.png
1528
%%DATADIR%%/resources/full-picture.png
1505
%%DATADIR%%/resources/full-picture2.png
1529
%%DATADIR%%/resources/full-picture2.png
Lines 1507-1512 Link Here
1507
%%DATADIR%%/resources/geforce_cursor.png
1531
%%DATADIR%%/resources/geforce_cursor.png
1508
%%DATADIR%%/resources/geforce_cursor_32.png
1532
%%DATADIR%%/resources/geforce_cursor_32.png
1509
%%DATADIR%%/resources/gmail.png
1533
%%DATADIR%%/resources/gmail.png
1534
%%DATADIR%%/resources/go-lv.png
1535
%%DATADIR%%/resources/go.png
1510
%%DATADIR%%/resources/go_off.png
1536
%%DATADIR%%/resources/go_off.png
1511
%%DATADIR%%/resources/go_on.png
1537
%%DATADIR%%/resources/go_on.png
1512
%%DATADIR%%/resources/google_earth_splash.jpg
1538
%%DATADIR%%/resources/google_earth_splash.jpg
Lines 1809-1817 Link Here
1809
%%DATADIR%%/resources/invisible.png
1835
%%DATADIR%%/resources/invisible.png
1810
%%DATADIR%%/resources/it.locale/default_myplaces.kml
1836
%%DATADIR%%/resources/it.locale/default_myplaces.kml
1811
%%DATADIR%%/resources/it.locale/license.txt
1837
%%DATADIR%%/resources/it.locale/license.txt
1838
%%DATADIR%%/resources/it.locale/releasenotes.txt
1812
%%DATADIR%%/resources/italian-flag.png
1839
%%DATADIR%%/resources/italian-flag.png
1813
%%DATADIR%%/resources/ja.locale/default_myplaces.kml
1840
%%DATADIR%%/resources/ja.locale/default_myplaces.kml
1814
%%DATADIR%%/resources/ja.locale/license.txt
1841
%%DATADIR%%/resources/ja.locale/license.txt
1842
%%DATADIR%%/resources/ja.locale/releasenotes.txt
1815
%%DATADIR%%/resources/joystick-md.png
1843
%%DATADIR%%/resources/joystick-md.png
1816
%%DATADIR%%/resources/joystick-mo.png
1844
%%DATADIR%%/resources/joystick-mo.png
1817
%%DATADIR%%/resources/joystick-norm.png
1845
%%DATADIR%%/resources/joystick-norm.png
Lines 1828-1833 Link Here
1828
%%DATADIR%%/resources/joystickon_right.png
1856
%%DATADIR%%/resources/joystickon_right.png
1829
%%DATADIR%%/resources/joystickon_rightdown.png
1857
%%DATADIR%%/resources/joystickon_rightdown.png
1830
%%DATADIR%%/resources/joystickon_up.png
1858
%%DATADIR%%/resources/joystickon_up.png
1859
%%DATADIR%%/resources/keyholelogo-sm.png
1860
%%DATADIR%%/resources/keyholelogo.png
1831
%%DATADIR%%/resources/large_traffic_count_16.png
1861
%%DATADIR%%/resources/large_traffic_count_16.png
1832
%%DATADIR%%/resources/layers_16.png
1862
%%DATADIR%%/resources/layers_16.png
1833
%%DATADIR%%/resources/left.png
1863
%%DATADIR%%/resources/left.png
Lines 1958-1963 Link Here
1958
%%DATADIR%%/resources/path-pl.png
1988
%%DATADIR%%/resources/path-pl.png
1959
%%DATADIR%%/resources/path.png
1989
%%DATADIR%%/resources/path.png
1960
%%DATADIR%%/resources/pause-dis.png
1990
%%DATADIR%%/resources/pause-dis.png
1991
%%DATADIR%%/resources/pause-lv.png
1961
%%DATADIR%%/resources/pause.png
1992
%%DATADIR%%/resources/pause.png
1962
%%DATADIR%%/resources/pause_click.png
1993
%%DATADIR%%/resources/pause_click.png
1963
%%DATADIR%%/resources/pause_glow.png
1994
%%DATADIR%%/resources/pause_glow.png
Lines 2075-2080 Link Here
2075
%%DATADIR%%/resources/rotright_glow_1.png
2106
%%DATADIR%%/resources/rotright_glow_1.png
2076
%%DATADIR%%/resources/rotright_off.png
2107
%%DATADIR%%/resources/rotright_off.png
2077
%%DATADIR%%/resources/rotright_off_1.png
2108
%%DATADIR%%/resources/rotright_off_1.png
2109
%%DATADIR%%/resources/route.png
2078
%%DATADIR%%/resources/ruler-gr.png
2110
%%DATADIR%%/resources/ruler-gr.png
2079
%%DATADIR%%/resources/ruler-md.png
2111
%%DATADIR%%/resources/ruler-md.png
2080
%%DATADIR%%/resources/ruler-mo.png
2112
%%DATADIR%%/resources/ruler-mo.png
Lines 2135-2140 Link Here
2135
%%DATADIR%%/resources/star.png
2167
%%DATADIR%%/resources/star.png
2136
%%DATADIR%%/resources/statue_of_liberty_mask.png
2168
%%DATADIR%%/resources/statue_of_liberty_mask.png
2137
%%DATADIR%%/resources/stop-dis.png
2169
%%DATADIR%%/resources/stop-dis.png
2170
%%DATADIR%%/resources/stop-lv.png
2138
%%DATADIR%%/resources/stop.png
2171
%%DATADIR%%/resources/stop.png
2139
%%DATADIR%%/resources/stop_click.png
2172
%%DATADIR%%/resources/stop_click.png
2140
%%DATADIR%%/resources/stop_glow.png
2173
%%DATADIR%%/resources/stop_glow.png

Return to bug 108864