2015-03-12 21:45:08 +00:00
|
|
|
# $NetBSD: Makefile,v 1.21 2015/03/12 21:45:08 tnn2 Exp $
|
2007-04-16 19:02:38 +00:00
|
|
|
|
2015-03-02 20:04:13 +00:00
|
|
|
DISTNAME= google-earth-stable_${GE_VERSION}_amd64.deb
|
2007-04-16 19:02:38 +00:00
|
|
|
PKGNAME= GoogleEarth-${GE_VERSION}
|
|
|
|
CATEGORIES= geography x11
|
2015-03-02 20:04:13 +00:00
|
|
|
MASTER_SITES= -http://dl.google.com/earth/client/current/google-earth-stable_current_amd64.deb
|
2007-04-16 19:02:38 +00:00
|
|
|
EXTRACT_SUFX=
|
|
|
|
|
2013-02-01 22:22:15 +00:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-04-16 19:02:38 +00:00
|
|
|
HOMEPAGE= http://earth.google.com/
|
|
|
|
COMMENT= Interactive browser for satellite imagery and maps
|
|
|
|
LICENSE= google-earth-license
|
2009-05-19 09:00:04 +00:00
|
|
|
|
2007-05-15 00:48:00 +00:00
|
|
|
LICENSE_FILE= ${FILESDIR}/google-earth-license
|
2007-04-16 19:02:38 +00:00
|
|
|
RESTRICTED= No redistribution allowed
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
|
2007-09-02 14:27:27 +00:00
|
|
|
DEPENDS+= vera-ttf>=1.10:../../fonts/vera-ttf
|
2007-04-16 19:02:38 +00:00
|
|
|
|
2015-03-02 19:59:26 +00:00
|
|
|
EMUL_PLATFORMS= linux-x86_64
|
|
|
|
EMUL_MODULES.linux= fontconfig glx gstreamer gtk2 lsb qt4 webp xslt
|
2007-07-30 20:27:30 +00:00
|
|
|
|
2015-03-02 19:59:26 +00:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-[0-9]*-x86_64 Linux-[0-9]*-x86_64
|
2007-07-30 15:49:10 +00:00
|
|
|
|
2017-06-23 21:43:21 +00:00
|
|
|
GE_VERSION= 7.1.8.3036
|
2007-04-16 19:02:38 +00:00
|
|
|
NO_CONFIGURE= yes
|
2015-03-02 19:59:26 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
EXTRACT_CMD= ar x "$$extract_file"
|
2007-04-16 19:02:38 +00:00
|
|
|
|
2015-03-02 19:59:26 +00:00
|
|
|
INSTALLATION_DIRS= bin share
|
2007-09-02 14:27:27 +00:00
|
|
|
|
2017-06-23 21:43:21 +00:00
|
|
|
USE_TOOLS+= pax xzcat tar
|
2015-03-02 19:59:26 +00:00
|
|
|
|
|
|
|
post-extract:
|
2017-06-23 21:43:21 +00:00
|
|
|
cd ${WRKDIR} && mkdir -p ${WRKSRC} && ${XZCAT} data.tar.xz | ${TAR} -C ${WRKSRC} -xf -
|
2008-05-26 13:59:43 +00:00
|
|
|
|
2007-04-16 19:02:38 +00:00
|
|
|
do-build:
|
2015-03-02 19:59:26 +00:00
|
|
|
printf '#! /bin/sh\nLD_LIBRARY_PATH=${PREFIX}/share/google/earth/free exec ${PREFIX}/share/google/earth/free/googleearth-bin "$$@"\n' > \
|
|
|
|
${WRKDIR}/google-earth
|
2007-04-16 19:02:38 +00:00
|
|
|
|
|
|
|
do-install:
|
2015-03-02 19:59:26 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/google-earth ${DESTDIR}${PREFIX}/bin/google-earth
|
|
|
|
cd ${WRKSRC}/opt && pax -rw google ${DESTDIR}${PREFIX}/share
|
2007-04-16 19:02:38 +00:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|