View | Details | Raw Unified | Return to bug 193314 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-16 / +21 lines)
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>
(-)pkg-descr (+4 lines)
Line 0 Link Here
1
This addon provide seafile implementation for Web DAV server by ultilizaing
2
WsgiDAV interface.
3
4
WWW: https://github.com/haiwen/seafdav
(-)pkg-plist (+8 lines)
Lines 1-5 Link Here
1
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/__init__.py
1
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/__init__.py
2
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/__init__.pyc
3
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/__init__.pyo
2
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/domain_controller.py
4
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/domain_controller.py
5
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/domain_controller.pyc
6
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/domain_controller.pyo
3
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/seaf_utils.py
7
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/seaf_utils.py
8
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/seaf_utils.pyc
9
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/seaf_utils.pyo
4
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/seafile_dav_provider.py
10
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/seafile_dav_provider.py
11
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/seafile_dav_provider.pyc
12
%%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile/seafile_dav_provider.pyo
5
@dirrmtry %%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile
13
@dirrmtry %%PYTHON_SITELIBDIR%%/wsgidav/addons/seafile

Return to bug 193314