blob: 57ef2b204e2fa834b9e642c2165490a9a6343915 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $FreeBSD$
PORTNAME= seafdav
PORTVERSION= ${SEAHUB_VER}
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -pro
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ultima@FreeBSD.org
COMMENT= Python library for accessing seafile data model
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
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
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 "${.CURDIR}/../../net-mgmt/seafile-server/Makefile.include"
.include <bsd.port.mk>
|