pkgsrc/net/py-google-cloud-sdk/Makefile
ryoon ed8e36271d Import py27-google-cloud-sdk-91.0.1 as net/py-google-cloud-sdk.
Google Cloud SDK contains tools and libraries that enable you to
easily create and manage resources on Google Cloud Platform,
including App Engine, Compute Engine, Cloud Storage, BigQuery,
Cloud SQL, and Cloud DNS.

This package contains bq, gcloud and gsutil commands.
2016-01-11 04:25:41 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2016/01/11 04:25:41 ryoon Exp $
GCLOUDVER= 91.0.1
DISTNAME= google-cloud-sdk-${GCLOUDVER}-linux-x86
PKGNAME= ${PYPKGPREFIX}-google-cloud-sdk-${GCLOUDVER}
CATEGORIES= net
MASTER_SITES= https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://cloud.google.com/sdk/
COMMENT= Google Cloud SDK (for Compute Engine etc.)
LICENSE= apache-2.0
GCSWRKSUBDIR= google-cloud-sdk
WRKSRC= ${WRKDIR}/${GCSWRKSUBDIR}
NO_BUILD= yes
USE_TOOLS+= pax
REPLACE_PYTHON+= bin/*
REPLACE_PYTHON+= bin/bootstrapping/*
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
do-install:
cd ${WRKDIR} && \
${FIND} ${GCSWRKSUBDIR} -type d -exec chmod 755 {} \;
cd ${WRKDIR} && \
${FIND} ${GCSWRKSUBDIR} -type f -exec chmod 644 {} \;
cd ${WRKDIR} && \
${FIND} ${GCSWRKSUBDIR}/bin -type f -exec chmod 755 {} \;
cd ${WRKDIR}/${GCSWRKSUBDIR} && \
${FIND} . -type f \! -name '*.orig' -print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/${PKGBASE}
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"