2008-07-26 00:31:12 -04:00
|
|
|
# New ports collection makefile for: gaeo
|
|
|
|
# Date created: 2008-07-24
|
|
|
|
# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gaeo
|
2009-05-23 10:23:50 -04:00
|
|
|
PORTVERSION= 0.2.1
|
2008-09-24 13:50:49 -04:00
|
|
|
PORTEPOCH= 1
|
2008-07-26 00:31:12 -04:00
|
|
|
CATEGORIES= www devel python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
|
2009-07-29 08:59:14 -04:00
|
|
|
MAINTAINER= yzlin@FreeBSD.org
|
2008-07-26 00:31:12 -04:00
|
|
|
COMMENT= An open-source web framework running on Google App Engine
|
|
|
|
|
2008-09-24 13:50:49 -04:00
|
|
|
RUN_DEPENDS= google-appengine>=1.1.0:${PORTSDIR}/www/google-appengine \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}simplejson>1.9:${PORTSDIR}/devel/py-simplejson
|
2008-07-26 00:31:12 -04:00
|
|
|
|
|
|
|
PROJECTHOST= google-app-engine-oil
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
2008-09-24 13:50:49 -04:00
|
|
|
USE_PYTHON= 2.5+
|
|
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
|
|
|
|
GAEOHOME= ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}
|
|
|
|
|
|
|
|
PORTDOCS= LICENSE NOTICE README.TXT
|
2008-07-26 00:31:12 -04:00
|
|
|
|
|
|
|
post-patch:
|
2008-09-24 13:50:49 -04:00
|
|
|
${REINPLACE_CMD} -e "s,%%GAEOHOME%%,${GAEOHOME},g" ${WRKSRC}/bin/gaeo.py
|
2008-07-26 00:31:12 -04:00
|
|
|
|
2008-09-24 13:50:49 -04:00
|
|
|
post-install:
|
2008-07-26 00:31:12 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
2008-09-24 13:50:49 -04:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
2008-07-26 00:31:12 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|