diff options
author | Steve Wills <swills@FreeBSD.org> | 2018-05-18 17:37:21 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2018-05-18 17:37:21 +0000 |
commit | 4d656fa2ac07f42e8063dd4e6cf09f07e7a5dfc5 (patch) | |
tree | 6b736faa85f4c8acbff039afc7ac24ff2e2880c1 /net/google-cloud-sdk/Makefile | |
parent | 3fa3a2fb24a6db01f079d6eeee469e0557b87543 (diff) | |
download | ports-4d656fa2ac07f42e8063dd4e6cf09f07e7a5dfc5.tar.gz ports-4d656fa2ac07f42e8063dd4e6cf09f07e7a5dfc5.zip |
Notes
Diffstat (limited to 'net/google-cloud-sdk/Makefile')
-rw-r--r-- | net/google-cloud-sdk/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/net/google-cloud-sdk/Makefile b/net/google-cloud-sdk/Makefile index 3045f0496482..714c5adee6c5 100644 --- a/net/google-cloud-sdk/Makefile +++ b/net/google-cloud-sdk/Makefile @@ -3,6 +3,7 @@ PORTNAME= google-cloud-sdk PORTVERSION= 200.0.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/ DISTNAME= google-cloud-sdk-${PORTVERSION}-linux-x86_64 @@ -11,10 +12,10 @@ MAINTAINER= swills@FreeBSD.org COMMENT= Google Cloud SDK for Google Cloud Platform USES= python:2.7 -NO_ARCH= yes -NO_BUILD= yes WRKSRC= ${WRKDIR}/google-cloud-sdk +PLIST_FILES= bin/bq bin/gcloud bin/git-credential-gcloud.sh bin/gsutil + RUN_DEPENDS= python:lang/python \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 @@ -27,6 +28,10 @@ post-extract: ${WRKSRC}/deb \ ${WRKSRC}/lib/third_party/grpc/_cython/cygrpc.so +do-build: + @cd ${WRKSRC} ; \ + ${PYTHON_CMD} -m compileall -q -x python3 . + do-install: ${RM} -r ${WRKSRC}/help ${WRKSRC}/.install/.download ( cd ${WRKSRC} ; ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/google-cloud-sdk ) @@ -36,4 +41,8 @@ do-install: ${STAGEDIR}${PREFIX}/bin/${x} .endfor +post-install: + @(cd ${STAGEDIR}${PREFIX} && \ + ${FIND} -s google-cloud-sdk -type f -o -type l >> ${TMPPLIST}) + .include <bsd.port.mk> |