freebsd-ports/www/gaeutilities/Makefile
Nicola Vitale 8c6f05e21e - Remove http://nivi.interfree.it from MASTER_SITES
- Set USE_PYTHON to 2.7 (same as www/google-appengine)
- Convert to the new options framework
2012-08-03 14:33:21 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: gaeutilities
# Date created: 2009-08-18
# Whom: 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.7 # same as www/google-appengine
WRKSRC= ${WRKDIR}/joerussbowman-gaeutilities-ea3f7e1
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS_DEFINE= DOCS
.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>