aboutsummaryrefslogtreecommitdiffstats
path: root/www/gaeo/Makefile
blob: 433dfbcb0f3ac24656a2e2a32c130a91920a1fa1 (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
36
37
38
39
# New ports collection makefile for:    gaeo
# Date created:     2008-07-24
# Whom:         Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   gaeo
PORTVERSION=    0.2.1
PORTEPOCH=  1
CATEGORIES= www devel python
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= yzlin@FreeBSD.org
COMMENT=    An open-source web framework running on Google App Engine

RUN_DEPENDS=    google-appengine>=1.1.0:${PORTSDIR}/www/google-appengine \
        ${PYTHON_PKGNAMEPREFIX}simplejson>1.9:${PORTSDIR}/devel/py-simplejson

PROJECTHOST=    google-app-engine-oil

USE_ZIP=    yes
USE_PYTHON= 2.5+
USE_PYDISTUTILS=    easy_install

GAEOHOME=   ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}

PORTDOCS=   LICENSE NOTICE README.TXT

post-patch:
    ${REINPLACE_CMD} -e "s,%%GAEOHOME%%,${GAEOHOME},g" ${WRKSRC}/bin/gaeo.py

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>