1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/www/gaeutilities/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

37 lines
1012 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= gaeutilities
PORTVERSION= 1.4
PORTREVISION= 0
CATEGORIES= www devel
MASTER_SITES= http://cloud.github.com/downloads/joerussbowman/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Utility classes to make working with Google App Engine easier
RUN_DEPENDS= google-appengine>=1.2.4_1:${PORTSDIR}/www/google-appengine
USE_PYTHON= 2 # same as www/google-appengine
WRKSRC= ${WRKDIR}/joerussbowman-gaeutilities-ea3f7e1
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
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 ${PYTHONPREFIX_SITELIBDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR} && cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.mk>