View | Details | Raw Unified | Return to bug 127519
Collapse All | Expand All

(-)/amd/account/gcs/96/9655630/dev/ports/www/gaeo/Makefile (-13 / +15 lines)
Lines 6-38 Link Here
6
#
6
#
7
7
8
PORTNAME=	gaeo
8
PORTNAME=	gaeo
9
PORTVERSION=	68
9
PORTVERSION=	0.1
10
PORTEPOCH=	1
10
CATEGORIES=	www devel python
11
CATEGORIES=	www devel python
11
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
12
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
12
DISTNAME=	${PORTNAME}-trunk-r${PORTVERSION}
13
13
14
MAINTAINER=	yzlin@cs.nctu.edu.tw
14
MAINTAINER=	yzlin@cs.nctu.edu.tw
15
COMMENT=	An open-source web framework running on Google App Engine
15
COMMENT=	An open-source web framework running on Google App Engine
16
16
17
RUN_DEPENDS=	google-appengine>=1.1.0:${PORTSDIR}/www/google-appengine
17
RUN_DEPENDS=	google-appengine>=1.1.0:${PORTSDIR}/www/google-appengine \
18
		${PYTHON_PKGNAMEPREFIX}simplejson>1.9:${PORTSDIR}/devel/py-simplejson
18
19
19
PROJECTHOST=	google-app-engine-oil
20
PROJECTHOST=	google-app-engine-oil
20
21
21
NO_BUILD=	yes
22
23
USE_PYTHON=	2.5+
24
USE_ZIP=	yes
22
USE_ZIP=	yes
23
USE_PYTHON=	2.5+
24
USE_PYDISTUTILS=	easy_install
25
26
GAEOHOME=	${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}
27
28
PORTDOCS=	LICENSE NOTICE README.TXT
25
29
26
post-patch:
30
post-patch:
27
	${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/bin/gaeo.py
31
	${REINPLACE_CMD} -e "s,%%GAEOHOME%%,${GAEOHOME},g" ${WRKSRC}/bin/gaeo.py
28
32
29
do-install:
33
post-install:
30
	cd ${WRKSRC} && ${COPYTREE_SHARE} "gaeo" ${DATADIR}
31
.if !defined(NOPORTDOCS)
34
.if !defined(NOPORTDOCS)
32
	${INSTALL} -d ${DOCSDIR}
35
	@${MKDIR} ${DOCSDIR}
33
	${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}/README
36
	${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
34
.endif
37
.endif
35
	${INSTALL_SCRIPT} ${WRKSRC}/bin/gaeo.py ${PREFIX}/bin/gaeo.py
38
	${INSTALL_SCRIPT} ${WRKSRC}/bin/gaeo.py ${PREFIX}/bin/gaeo
36
	${INSTALL_SCRIPT} ${WRKSRC}/bin/gaeogen.py ${PREFIX}/bin/gaeogen.py
37
39
38
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)/amd/account/gcs/96/9655630/dev/ports/www/gaeo/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gaeo-trunk-r68.zip) = 64bccf58a8169aef204d24d11d0a15f1
1
MD5 (gaeo-0.1.zip) = c43b746570091caa0ab27952c3bc77e7
2
SHA256 (gaeo-trunk-r68.zip) = 5a6938533433b531e2d425abc35f26a538d2919fb7bb10de12f289f7ac5e9777
2
SHA256 (gaeo-0.1.zip) = 71752455a6ce4a74398a7c98549ed0d45f75823761aaf1169aae316783fb0855
3
SIZE (gaeo-trunk-r68.zip) = 27025
3
SIZE (gaeo-0.1.zip) = 29548
(-)/amd/account/gcs/96/9655630/dev/ports/www/gaeo/files/patch-bin_gaeo.py (-1 / +1 lines)
Lines 5-11 Link Here
5
 
5
 
6
     # copy GAEO directory
6
     # copy GAEO directory
7
-    copytree(os.path.join(os.path.dirname(__file__), '..', 'gaeo'), os.path.join(project_home, 'gaeo'))
7
-    copytree(os.path.join(os.path.dirname(__file__), '..', 'gaeo'), os.path.join(project_home, 'gaeo'))
8
+    copytree(os.path.join('%%DATADIR%%', 'gaeo'), os.path.join(project_home, 'gaeo'))
8
+    copytree(os.path.join('%%GAEOHOME%%', 'gaeo'), os.path.join(project_home, 'gaeo'))
9
 
9
 
10
     # create the eclipse project file
10
     # create the eclipse project file
11
     if create_eclipse_proj:
11
     if create_eclipse_proj:
(-)/amd/account/gcs/96/9655630/dev/ports/www/gaeo/pkg-plist (-21 / +61 lines)
Lines 1-21 Link Here
1
bin/gaeo.py
1
bin/gaeogen
2
bin/gaeogen.py
2
bin/gaeo
3
%%PORTDOCS%%%%DOCSDIR%%/README
3
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/gaeo.py
4
%%DATADIR%%/gaeo/__init__.py
4
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/gaeogen.py
5
%%DATADIR%%/gaeo/controller/__init__.py
5
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/release.py
6
%%DATADIR%%/gaeo/controller/errors.py
6
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/__init__.py
7
%%DATADIR%%/gaeo/controller/helper.py
7
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/gaeo.pyc
8
%%DATADIR%%/gaeo/controller/jsonencoder.py
8
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/gaeogen.pyc
9
%%DATADIR%%/gaeo/dispatch/__init__.py
9
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/release.pyc
10
%%DATADIR%%/gaeo/dispatch/dispatcher.py
10
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/__init__.pyc
11
%%DATADIR%%/gaeo/dispatch/router.py
11
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/gaeo.pyo
12
%%DATADIR%%/gaeo/model/__init__.py
12
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/gaeogen.pyo
13
%%DATADIR%%/gaeo/session/__init__.py
13
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/release.pyo
14
%%DATADIR%%/gaeo/session/memcache.py
14
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin/__init__.pyo
15
@dirrm %%DATADIR%%/gaeo/session
15
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/__init__.py
16
@dirrm %%DATADIR%%/gaeo/model
16
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/__init__.pyc
17
@dirrm %%DATADIR%%/gaeo/dispatch
17
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/__init__.py
18
@dirrm %%DATADIR%%/gaeo/controller
18
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/errors.py
19
@dirrm %%DATADIR%%/gaeo
19
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/helper.py
20
@dirrm %%DATADIR%%
20
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/jsonencoder.py
21
%%PORTDOCS%%@dirrm %%DOCSDIR%%
21
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/__init__.pyc
22
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/errors.pyc
23
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/helper.pyc
24
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/jsonencoder.pyc
25
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/__init__.pyo
26
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/errors.pyo
27
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/helper.pyo
28
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller/jsonencoder.pyo
29
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/dispatch/__init__.py
30
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/dispatch/dispatcher.py
31
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/dispatch/router.py
32
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/dispatch/__init__.pyc
33
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/dispatch/dispatcher.pyc
34
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/dispatch/router.pyc
35
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/dispatch/__init__.pyo
36
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/dispatch/dispatcher.pyo
37
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/dispatch/router.pyo
38
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/model/__init__.py
39
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/model/__init__.pyc
40
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/model/__init__.pyo
41
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/session/__init__.py
42
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/session/memcache.py
43
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/session/__init__.pyc
44
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/session/memcache.pyc
45
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/session/__init__.pyo
46
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/session/memcache.pyo
47
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/__init__.pyo
48
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
49
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
50
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
51
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
52
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
53
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
54
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bin
55
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/controller
56
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/dispatch
57
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/model
58
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo/session
59
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gaeo
60
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
61
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

Return to bug 127519