aboutsummaryrefslogtreecommitdiffstats
path: root/www/gaeutilities/Makefile
blob: b8fb4734ec6744edf8c25cd47aaeb745b82bf5fc (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
31
32
33
34
35
# New ports collection makefile for:    gaeutilities
# Date created:     2009-08-18
# Whom:         Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gaeutilities
PORTVERSION=    1.3
PORTREVISION=   0
CATEGORIES= www devel
MASTER_SITES=   GOOGLE_CODE \
        http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
EXTRACT_SUFX=   .tgz

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

MANUAL_PACKAGE_BUILD=   uses Python 2.5
USE_PYTHON= 2.5 # same as www/google-appengine

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 !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR} && cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif

.include <bsd.port.mk>