Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= seafile |
3 |
PORTNAME= seafile |
4 |
PORTVERSION= 3.1.4 |
4 |
PORTVERSION= 3.1.4 |
5 |
CATEGORIES= www |
5 |
CATEGORIES= net-mgmt devel |
6 |
|
6 |
|
7 |
MAINTAINER= yan_jingfeng@yahoo.com |
7 |
MAINTAINER= yan_jingfeng@yahoo.com |
8 |
COMMENT= Framework for writing networked applications |
8 |
COMMENT= Framework for writing networked applications |
Lines 9-16
Link Here
|
9 |
|
9 |
|
10 |
LICENSE= GPLv3 |
10 |
LICENSE= GPLv3 |
11 |
|
11 |
|
12 |
BUILD_DEPENDS+= valac:${PORTSDIR}/lang/vala |
12 |
BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala |
13 |
LIB_DEPENDS+= libsearpc.so:${PORTSDIR}/www/libsearpc \ |
13 |
LIB_DEPENDS= libsearpc.so:${PORTSDIR}/devel/libsearpc \ |
14 |
libevhtp.so:${PORTSDIR}/www/libevhtp \ |
14 |
libevhtp.so:${PORTSDIR}/www/libevhtp \ |
15 |
libzdb.so:${PORTSDIR}/databases/libzdb \ |
15 |
libzdb.so:${PORTSDIR}/databases/libzdb \ |
16 |
libcrypto.so:${PORTSDIR}/security/openssl \ |
16 |
libcrypto.so:${PORTSDIR}/security/openssl \ |
Lines 17-26
Link Here
|
17 |
libarchive.so.13:${PORTSDIR}/archivers/libarchive \ |
17 |
libarchive.so.13:${PORTSDIR}/archivers/libarchive \ |
18 |
libfuse.so:${PORTSDIR}/sysutils/fusefs-libs \ |
18 |
libfuse.so:${PORTSDIR}/sysutils/fusefs-libs \ |
19 |
libinotify.so:${PORTSDIR}/devel/libinotify \ |
19 |
libinotify.so:${PORTSDIR}/devel/libinotify \ |
20 |
libccnet.so:${PORTSDIR}/www/ccnet |
20 |
libccnet.so:${PORTSDIR}/net-mgmt/ccnet |
21 |
RUN_DEPENDS= ccnet-server:${PORTSDIR}/www/ccnet \ |
21 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eggtestinfo>0:${PORTSDIR}/devel/py-eggtestinfo \ |
22 |
ccnet-init:${PORTSDIR}/www/ccnet \ |
|
|
23 |
${PYTHON_PKGNAMEPREFIX}eggtestinfo>0:${PORTSDIR}/devel/py-eggtestinfo \ |
24 |
${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \ |
22 |
${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \ |
25 |
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ |
23 |
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ |
26 |
bash:${PORTSDIR}/shells/bash |
24 |
bash:${PORTSDIR}/shells/bash |
Lines 30-45
Link Here
|
30 |
GH_TAGNAME= v3.1.4 |
28 |
GH_TAGNAME= v3.1.4 |
31 |
GH_COMMIT= ac58109 |
29 |
GH_COMMIT= ac58109 |
32 |
|
30 |
|
33 |
USES= libtool pkgconfig python:2 pathfix shebangfix |
31 |
USES= autoreconf libtool pkgconfig python:2 pathfix shebangfix |
34 |
PATHFIX_MAKEFILEIN= Makefile.am |
32 |
PATHFIX_MAKEFILEIN= Makefile.am |
35 |
USE_LDCONFIG= yes |
33 |
USE_LDCONFIG= yes |
36 |
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf |
|
|
37 |
LIBTOOLIZE_ARGS=-i -c -f |
38 |
ACLOCAL_ARGS= -I m4 |
39 |
AUTOMAKE_ARGS= --add-missing --gnu |
40 |
|
34 |
|
41 |
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/event2 |
35 |
CPPFLAGS+= -I${LOCALBASE}/include |
42 |
LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/event2 |
36 |
LDFLAGS+= -L${LOCALBASE}/lib |
43 |
|
37 |
|
44 |
MAKE_JOBS_UNSAFE=yes |
38 |
MAKE_JOBS_UNSAFE=yes |
45 |
|
39 |
|
Lines 53-91
Link Here
|
53 |
WWWDIR= ${PREFIX}/www/haiwen/seafile-server |
47 |
WWWDIR= ${PREFIX}/www/haiwen/seafile-server |
54 |
|
48 |
|
55 |
post-install: |
49 |
post-install: |
56 |
@${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}/seafile/bin |
50 |
@${MKDIR} ${STAGEDIR}${WWWDIR}/seafile/bin |
57 |
@${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}/seafile/share/doc/seafile |
51 |
@${MKDIR} ${STAGEDIR}${WWWDIR}/seafile/share/doc/seafile |
58 |
@${INSTALL} -m 0755 ${WRKSRC}/doc/seafile-tutorial.doc \ |
52 |
${INSTALL_DATA} ${WRKSRC}/doc/seafile-tutorial.doc \ |
59 |
${STAGEDIR}${WWWDIR}/seafile/share/doc/seafile/ |
53 |
${STAGEDIR}${WWWDIR}/seafile/share/doc/seafile/ |
60 |
@${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/fileserver \ |
54 |
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/fileserver \ |
61 |
${STAGEDIR}${WWWDIR}/seafile/bin/fileserver |
55 |
${STAGEDIR}${WWWDIR}/seafile/bin/fileserver |
62 |
@${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/seaf-fsck \ |
56 |
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-fsck \ |
63 |
${STAGEDIR}${WWWDIR}/seafile/bin/seaf-fsck |
57 |
${STAGEDIR}${WWWDIR}/seafile/bin/seaf-fsck |
64 |
@${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/seafserv-gc \ |
58 |
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seafserv-gc \ |
65 |
${STAGEDIR}${WWWDIR}/seafile/bin/seafserv-gc |
59 |
${STAGEDIR}${WWWDIR}/seafile/bin/seafserv-gc |
66 |
@${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/seaf-fuse \ |
60 |
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-fuse \ |
67 |
${STAGEDIR}${WWWDIR}/seafile/bin/seaf-fuse |
61 |
${STAGEDIR}${WWWDIR}/seafile/bin/seaf-fuse |
68 |
@${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/seaf-migrate \ |
62 |
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-migrate \ |
69 |
${STAGEDIR}${WWWDIR}/seafile/bin/seaf-migrate |
63 |
${STAGEDIR}${WWWDIR}/seafile/bin/seaf-migrate |
70 |
@${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/seaf-server \ |
64 |
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-server \ |
71 |
${STAGEDIR}${WWWDIR}/seafile/bin/seaf-server |
65 |
${STAGEDIR}${WWWDIR}/seafile/bin/seaf-server |
72 |
@${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/seaf-server-init \ |
66 |
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-server-init \ |
73 |
${STAGEDIR}${WWWDIR}/seafile/bin/seaf-server-init |
67 |
${STAGEDIR}${WWWDIR}/seafile/bin/seaf-server-init |
74 |
@${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/seafile-controller \ |
68 |
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seafile-controller \ |
75 |
${STAGEDIR}${WWWDIR}/seafile/bin/seafile-controller |
69 |
${STAGEDIR}${WWWDIR}/seafile/bin/seafile-controller |
76 |
@${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/seafserv-tool \ |
70 |
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seafserv-tool \ |
77 |
${STAGEDIR}${WWWDIR}/seafile/bin/seafserv-tool |
71 |
${STAGEDIR}${WWWDIR}/seafile/bin/seafserv-tool |
78 |
@${INSTALL} -m 0755 ${WRKSRC}/scripts/*.py \ |
72 |
${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.py \ |
79 |
${STAGEDIR}${WWWDIR} |
73 |
${STAGEDIR}${WWWDIR} |
80 |
@${INSTALL} -m 0755 ${WRKSRC}/scripts/*.sh \ |
74 |
${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.sh \ |
81 |
${STAGEDIR}${WWWDIR} |
75 |
${STAGEDIR}${WWWDIR} |
82 |
@${INSTALL} -d -m 0755 ${WRKSRC}/scripts/upgrade/ \ |
76 |
${INSTALL_DATA} -d ${WRKSRC}/scripts/upgrade/ \ |
83 |
${STAGEDIR}${WWWDIR}/upgrade |
77 |
${STAGEDIR}${WWWDIR}/upgrade |
84 |
@${INSTALL} -m 0755 ${WRKSRC}/scripts/upgrade/*py \ |
78 |
${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*py \ |
85 |
${STAGEDIR}${WWWDIR}/upgrade |
79 |
${STAGEDIR}${WWWDIR}/upgrade |
86 |
@${INSTALL} -m 0755 ${WRKSRC}/scripts/upgrade/*sh \ |
80 |
${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*sh \ |
87 |
${STAGEDIR}${WWWDIR}/upgrade |
81 |
${STAGEDIR}${WWWDIR}/upgrade |
88 |
@${CP} -R ${WRKSRC}/scripts/upgrade/sql/ \ |
82 |
${CP} -R ${WRKSRC}/scripts/upgrade/sql/ \ |
89 |
${STAGEDIR}${WWWDIR}/upgrade/sql/ |
83 |
${STAGEDIR}${WWWDIR}/upgrade/sql/ |
90 |
|
84 |
|
91 |
.include <bsd.port.mk> |
85 |
.include <bsd.port.mk> |