1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Add a hack to support lack of versioning in Google tarball names.

Fix plist.
This commit is contained in:
Florent Thoumie 2006-07-10 15:02:07 +00:00
parent ad7bd3136e
commit ee0811b45b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167353
3 changed files with 17 additions and 5 deletions

View File

@ -9,7 +9,7 @@ PORTNAME= google-earth
PORTVERSION= 4.0.1660
CATEGORIES= astro deskutils
MASTER_SITES= http://dl.google.com/earth/GE${PORTVERSION:C/\..*//g}/
DISTFILES= GoogleEarthLinux.bin
DISTFILES= ${TARGET_DISTFILE}
EXTRACT_ONLY= # none
MAINTAINER= flz@FreeBSD.org
@ -25,6 +25,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\..*//g}/
USE_LINUX= yes
USE_GNOME= desktopfileutils
REAL_DISTFILE= GoogleEarthLinux.bin
TARGET_DISTFILE= GoogleEarthLinux-${PORTVERSION}.bin
FETCH_CMD= /usr/bin/fetch -ARm
FETCH_BEFORE_ARGS= -o ${TARGET_DISTFILE}
.include <bsd.port.pre.mk>
UNMAKESELF= ${LOCALBASE}/bin/unmakeself
@ -39,6 +45,10 @@ RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_d
RUN_DEPENDS+= ${LINUXBASE}/lib/libGL.so.1:${PORTSDIR}/graphics/linux_glx
.endif
do-fetch:
@cd ${DISTDIR}; \
${FETCH_CMD} ${FETCH_BEFORE_ARGS} -1 ${MASTER_SITES:S|$|${REAL_DISTFILE}|g} ${FETCH_AFTER_ARGS}
do-build:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}

View File

@ -1,3 +1,3 @@
MD5 (GoogleEarthLinux.bin) = e61a47c369e596cfa6e75aad058cc657
SHA256 (GoogleEarthLinux.bin) = 1347a52849b2c245a8200f78cf2aef4fafa45aabc01fb91bbdbfc3baaaf9172e
SIZE (GoogleEarthLinux.bin) = 17027325
MD5 (GoogleEarthLinux-4.0.1660.bin) = e61a47c369e596cfa6e75aad058cc657
SHA256 (GoogleEarthLinux-4.0.1660.bin) = 1347a52849b2c245a8200f78cf2aef4fafa45aabc01fb91bbdbfc3baaaf9172e
SIZE (GoogleEarthLinux-4.0.1660.bin) = 17027325

View File

@ -608,7 +608,6 @@ share/mime/packages/googleearth-mimetypes.xml
%%DATADIR%%/resources/browser-side.png
%%DATADIR%%/resources/search-dis.png
%%DATADIR%%/resources/american_state_border_fade_out_mask.png
%%DATADIR%%/resources/collada_building_mask.png
%%DATADIR%%/resources/dc_benchmark_mask.png
%%DATADIR%%/resources/draw_big_placemark_mask.png
%%DATADIR%%/resources/draw_building_mask.png
@ -646,6 +645,7 @@ share/mime/packages/googleearth-mimetypes.xml
%%DATADIR%%/linux/README-mailto.txt
%%DATADIR%%/lang/qt_it.qm
%%DATADIR%%/lang/es.qm
%%DATADIR%%/lang/en.qm
%%DATADIR%%/lang/fr.qm
%%DATADIR%%/lang/it.qm
%%DATADIR%%/lang/qt_de.qm
@ -664,6 +664,7 @@ share/mime/packages/googleearth-mimetypes.xml
%%DATADIR%%/xml/measure.module.xml
%%DATADIR%%/xml/navigate.module.xml
%%DATADIR%%/xml/app.module.xml
%%DATADIR%%/xml/3dconnexion.plugin.xml
%%DATADIR%%/libtiff.so.3
%%DATADIR%%/libstdc++.so.6
%%DATADIR%%/libssl.so.0.9.8
@ -707,6 +708,7 @@ share/mime/packages/googleearth-mimetypes.xml
%%DATADIR%%/libIGCore.so
%%DATADIR%%/libIGCollision.so
%%DATADIR%%/libIGAttrs.so
%%DATADIR%%/lib3dconnexion.so
%%DATADIR%%/googleearth.xpm
%%DATADIR%%/googleearth-icon.png
%%DATADIR%%/googleearth-bin