Changeset View
Changeset View
Standalone View
Standalone View
head/astro/google-earth/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= google-earth | PORTNAME= google-earth | ||||
PORTVERSION= 6.0.3.2197 | PORTVERSION= 6.0.3.2197 | ||||
PORTREVISION= 4 | PORTREVISION= 5 | ||||
PORTEPOCH= 3 | PORTEPOCH= 3 | ||||
CATEGORIES= astro deskutils geography | CATEGORIES= astro deskutils geography | ||||
MASTER_SITES= http://dl.google.com/earth/client/advanced/previous/:previous \ | MASTER_SITES= http://dl.google.com/earth/client/advanced/previous/:previous \ | ||||
http://dl.google.com/earth/client/current/:current | http://dl.google.com/earth/client/current/:current | ||||
DISTFILES= GoogleEarthLinux.bin:current | DISTFILES= GoogleEarthLinux.bin:current | ||||
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} | DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} | ||||
EXTRACT_ONLY= # none | EXTRACT_ONLY= # none | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Explore, Search, and Discover | COMMENT= Explore, Search, and Discover | ||||
EXTRACT_DEPENDS= unmakeself:archivers/unmakeself | EXTRACT_DEPENDS= unmakeself:archivers/unmakeself | ||||
RESTRICTED= Not really sure about the redistribution terms | RESTRICTED= Not really sure about the redistribution terms | ||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\..*//g}/ | WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\..*//g}/ | ||||
OPTIONS_DEFINE= NVIDIA | OPTIONS_DEFAULT= LINUX_DRI | ||||
OPTIONS_SINGLE= LIBGL | |||||
OPTIONS_SINGLE_LIBGL= LINUX_DRI NVIDIA_GL NVIDIA_GL_340 NVIDIA_GL_304 | |||||
LINUX_DRI_DESC= libGL support via Linux DRI libraries | |||||
NVIDIA_GL_340_DESC= libGL support via nvidia-driver-340 | |||||
NVIDIA_GL_304_DESC= libGL support via nvidia-driver-304 | |||||
USE_LINUX= yes | USE_LINUX= yes | ||||
USE_LINUX_APPS= xorglibs curl nss | USE_LINUX_APPS= xorglibs curl nss | ||||
USES= perl5 shared-mime-info desktop-file-utils | USES= perl5 shared-mime-info desktop-file-utils | ||||
USE_PERL5= patch build | USE_PERL5= patch build | ||||
#SUB_FILES= bin/googleearth | #SUB_FILES= bin/googleearth | ||||
UNMAKESELF= ${LOCALBASE}/bin/unmakeself | UNMAKESELF= ${LOCALBASE}/bin/unmakeself | ||||
NVIDIA_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver | NVIDIA_GL_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver | ||||
NVIDIA_USE_OFF= LINUX_APPS=dri,libpciaccess | NVIDIA_GL_340_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver-340 | ||||
NVIDIA_GL_304_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver-304 | |||||
LINUX_DRI_USE= LINUX_APPS=dri,libpciaccess | |||||
# Fixed by the first post-patch target line? Also, linprocfs needs to be mounted. | # Fixed by the first post-patch target line? Also, linprocfs needs to be mounted. | ||||
#BROKEN= seems to crash on >= 9.x/amd64: http://www.freebsd.org/cgi/query-pr.cgi?pr=160422 | #BROKEN= seems to crash on >= 9.x/amd64: http://www.freebsd.org/cgi/query-pr.cgi?pr=160422 | ||||
do-extract: | do-extract: | ||||
@${MKDIR} ${WRKSRC} | @${MKDIR} ${WRKSRC} | ||||
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${_DISTFILES} ${WRKSRC} | @${CP} ${DISTDIR}/${DIST_SUBDIR}/${_DISTFILES} ${WRKSRC} | ||||
@cd ${WRKSRC} && ${UNMAKESELF} ${_DISTFILES} && ${RM} -f ${_DISTFILES} | @cd ${WRKSRC} && ${UNMAKESELF} ${_DISTFILES} && ${RM} -f ${_DISTFILES} | ||||
Show All 38 Lines |