50f8eaece1
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2 - USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes Reviewed by: python (mva, rm) Approved by: portmgr-lurkers (mat)
36 lines
1,012 B
Makefile
36 lines
1,012 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>
|