1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/www/py-seafdav/Makefile
John Marino a88a700c12 Add new port www/py-seafdav
PR:		193314
Submitted by:	Jingfeng Yan

This addon provides seafile implementation for Web DAV server by
utilizing WsgiDAV interface.
2014-11-06 20:11:18 +00:00

36 lines
958 B
Makefile

# $FreeBSD$
PORTNAME= seafdav
PORTVERSION= 3.0.4
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yan_jingfeng@yahoo.com
COMMENT= Python library for accessing seafile data model
LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}WsgiDAV>=0.5:${PORTSDIR}/www/py-wsgidav
USE_GITHUB= yes
GH_ACCOUNT= haiwen
GH_TAGNAME= v${PORTVERSION}-server-testing
GH_COMMIT= 42dfd99
USES= python:2
NO_BUILD= yes
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/wsgidav/addons/seafile
(cd ${WRKSRC}/wsgidav/addons/seafile && ${COPYTREE_SHARE} . \
${STAGEDIR}${PYTHON_SITELIBDIR}/wsgidav/addons/seafile)
(cd ${STAGEDIR}${PREFIX} && \
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} \
-f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} && \
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} \
-f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
.include <bsd.port.mk>