aboutsummaryrefslogtreecommitdiff
path: root/www/gaeutilities/Makefile
blob: 0cda9ac0ad8a21b5449aea8de511fbf94929584d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gaeutilities
PORTVERSION=	1.4
PORTREVISION=	1
CATEGORIES=	www devel
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Utility classes to make working with Google App Engine easier

RUN_DEPENDS=	google-appengine>=1.2.4_1:www/google-appengine

USES=		python:2.7 # same as www/google-appengine
USE_GITHUB=	yes
GH_ACCOUNT=	joerussbowman
GH_TAGNAME=	ea3f7e1

OPTIONS_DEFINE=	DOCS

do-build:
	${PYTHON_CMD} -m compileall -f ${WRKSRC}/appengine_utilities
	${PYTHON_CMD} -O -m compileall -f ${WRKSRC}/appengine_utilities

do-install:
	cd ${WRKSRC} && ${COPYTREE_SHARE} appengine_utilities ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
	${MKDIR} ${STAGEDIR}${DOCSDIR} && cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>