# $FreeBSD: head/www/py-seafdav/Makefile 401896 2015-11-18 20:42:06Z rm $ PORTNAME= seafdav PORTVERSION= 5.1.0 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= -pro CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ultima1252@gmail.com COMMENT= Python library for accessing seafile data model LICENSE= APACHE20 USE_GITHUB= yes GH_ACCOUNT= haiwen USES= python:-2.7 shebangfix SHEBANG_FILES= *.sh *.template wsgidav/addons/seafile/*.py NO_ARCH= yes NO_BUILD= yes HAIWENDIR= www/haiwen SEAFILE_SERVER= ${HAIWENDIR}/seafile-server SEAHUBDIR= ${SEAFILE_SERVER}/seahub SITEPACKAGEDIR= ${SEAHUBDIR}/thirdpart SEAFILE_USERNAME?= www SEAFILE_GROUPNAME?= ${SEAFILE_USERNAME} PLIST_SUB= SEAFILE_USERNAME=${SEAFILE_USERNAME} \ SEAFILE_GROUPNAME=${SEAFILE_GROUPNAME} \ SEAFILE_SERVER=${SEAFILE_SERVER} \ SEAHUBDIR=${SEAHUBDIR} \ HAIWENDIR=${HAIWENDIR} \ SITEPACKAGEDIR=${SITEPACKAGEDIR} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SITEPACKAGEDIR}/wsgidav (cd ${WRKSRC}/wsgidav && \ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${WRKSRC}/wsgidav \ -f ${WRKSRC}/wsgidav && \ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${WRKSRC}/wsgidav \ -f ${WRKSRC}/wsgidav) (cd ${WRKSRC}/wsgidav && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITEPACKAGEDIR}/wsgidav) .include