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= APACHE20 |
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_TAGNAME= v${PORTNAME}-server-testing |
14 |
GH_TAGNAME= ${GH_COMMIT} |
13 |
GH_COMMIT= 42dfd99 |
15 |
GH_COMMIT= 42dfd99 |
|
|
16 |
NO_BUILD= yes |
14 |
NO_BUILD= yes |
17 |
USES= python:2 |
15 |
USES= python:2 |
18 |
do-install: |
16 |
do-install: |
19 |
@${ECHO_MSG} "install script ... " |
17 |
@${ECHO_MSG} "install script ... " |
20 |
@${MKDIR} -p ${STAGEDIR}${PYTHON_SITELIBDIR}/wsgidav/addons/seafile |
18 |
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/wsgidav/addons/seafile |
21 |
@cd ${WRKSRC}/wsgidav/addons/seafile && \ |
19 |
@cd ${WRKSRC}/wsgidav/addons/seafile && \ |
22 |
${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/wsgidav/addons/seafile |
20 |
${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/wsgidav/addons/seafile |
|
|
21 |
post-install: |
22 |
(cd ${STAGEDIR}${PREFIX} && \ |
23 |
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ |
24 |
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} && \ |
25 |
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ |
26 |
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) |
27 |
|
23 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |