Lines 1-32
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
PORTNAME= seafdav |
2 |
PORTNAME= seafdav |
3 |
PORTVERSION= 3.0.4 |
3 |
PORTVERSION= 3.0.4 |
4 |
CATEGORIES= www python |
4 |
CATEGORIES= www python |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
MAINTAINER= yan_jingfeng@yahoo.com |
6 |
MAINTAINER= yan_jingfeng@yahoo.com |
7 |
COMMENT= python library for accessing seafile data model |
7 |
COMMENT= Python library for accessing seafile data model |
8 |
#LICENSE= |
8 |
LICENSE= MIT |
9 |
#LICENSE_FILE= |
|
|
10 |
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/wsgidav/__init__.py:${PORTSDIR}/www/py-wsgidav |
9 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}WsgiDAV>=0.5:${PORTSDIR}/www/py-wsgidav |
11 |
USE_GITHUB= yes |
10 |
USE_GITHUB= yes |
12 |
GH_ACCOUNT= haiwen |
11 |
GH_ACCOUNT= haiwen |
13 |
GH_PROJECT= seafdav |
12 |
GH_PROJECT= ${PORTNAME} |
14 |
GH_TAGNAME= ${GH_COMMIT} |
13 |
GH_TAGNAME= v3.0.4-server-testing |
15 |
GH_COMMIT= 42dfd99 |
14 |
GH_COMMIT= 42dfd99 |
16 |
NO_BUILD= yes |
15 |
NO_BUILD= yes |
17 |
USES= python:2 |
16 |
USES= python:2 |
18 |
do-install: |
17 |
do-install: |
19 |
@${ECHO_MSG} "install script ... " |
18 |
@${ECHO_MSG} "install script ... " |
20 |
@${MKDIR} -p ${STAGEDIR}${PYTHON_SITELIBDIR}/wsgidav/addons/seafile |
19 |
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/wsgidav/addons/seafile |
21 |
@cd ${WRKSRC}/wsgidav/addons/seafile && \ |
20 |
@cd ${WRKSRC}/wsgidav/addons/seafile && \ |
22 |
${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/wsgidav/addons/seafile |
21 |
${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/wsgidav/addons/seafile |
|
|
22 |
post-install: |
23 |
(cd ${STAGEDIR}${PREFIX} && \ |
24 |
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ |
25 |
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} && \ |
26 |
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ |
27 |
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) |
28 |
|
23 |
.include <bsd.port.mk> |
29 |
.include <bsd.port.mk> |