aboutsummaryrefslogtreecommitdiff
path: root/astro/google-earth
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2014-01-29 22:39:37 +0000
committerJuergen Lock <nox@FreeBSD.org>2014-01-29 22:39:37 +0000
commit5f33436e34f3d1cfc8b9d310d1999fa833c755b1 (patch)
tree5817154aa966cad5b554a43664c1677f553b173c /astro/google-earth
parent1c840bc3c0a45b1c2d3d9e971e758c380ef4bb7f (diff)
downloadports-5f33436e34f3d1cfc8b9d310d1999fa833c755b1.tar.gz
ports-5f33436e34f3d1cfc8b9d310d1999fa833c755b1.zip
Notes
Diffstat (limited to 'astro/google-earth')
-rw-r--r--astro/google-earth/Makefile4
-rw-r--r--astro/google-earth/pkg-plist1
2 files changed, 3 insertions, 2 deletions
diff --git a/astro/google-earth/Makefile b/astro/google-earth/Makefile
index e706111893e2..b442129bbda5 100644
--- a/astro/google-earth/Makefile
+++ b/astro/google-earth/Makefile
@@ -2,6 +2,7 @@
PORTNAME= google-earth
PORTVERSION= 6.0.3.2197
+PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= astro deskutils geography
MASTER_SITES= http://dl.google.com/earth/client/advanced/previous/:previous \
@@ -20,7 +21,7 @@ RESTRICTED= Not really sure about the redistribution terms
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\..*//g}/
USE_LINUX= yes
-USE_LINUX_APPS= xorglibs
+USE_LINUX_APPS= xorglibs curl
USES= perl5 shared-mime-info desktop-file-utils
USE_PERL5= patch build
@@ -53,6 +54,7 @@ post-patch:
@${REINPLACE_CMD} -i "" -e 's/^TMPPATH.*/exit 0/' ${WRKSRC}/postinstall.sh
@${REINPLACE_CMD} -i "" -e 's|\"\$$SETUP_INSTALLPATH/|\"${WRKSRC}/|' ${WRKSRC}/postinstall.sh
@${REINPLACE_CMD} -i "" -e 's|\$$SETUP_INSTALLPATH/googleearth |${PREFIX}/bin/googleearth |' ${WRKSRC}/postinstall.sh
+ ${RM} ${WRKSRC}/libcurl.so.4
${PERL} -i -pe 's|/lib/ld-lsb.so.3\0\0\0|/lib/ld-linux.so.2\0|' ${WRKSRC}/googleearth-bin
do-build:
diff --git a/astro/google-earth/pkg-plist b/astro/google-earth/pkg-plist
index 4f2b7704968d..179d0ff78559 100644
--- a/astro/google-earth/pkg-plist
+++ b/astro/google-earth/pkg-plist
@@ -106,7 +106,6 @@ bin/googleearth
%%DATADIR%%/libcommon_platform.so
%%DATADIR%%/libcommon_webbrowser.so
%%DATADIR%%/libcomponentframework.so
-%%DATADIR%%/libcurl.so.4
%%DATADIR%%/libevll.so
%%DATADIR%%/libflightsim.so
%%DATADIR%%/libfusioncommon.so