Lines 4-9
Link Here
|
4 |
PORTVERSION= 6.0.7 |
4 |
PORTVERSION= 6.0.7 |
5 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONSUFFIX= -server |
6 |
DISTVERSIONSUFFIX= -server |
|
|
7 |
PORTREVISION= 1 |
7 |
CATEGORIES= net-mgmt |
8 |
CATEGORIES= net-mgmt |
8 |
|
9 |
|
9 |
MAINTAINER= ultima1252@gmail.com |
10 |
MAINTAINER= ultima1252@gmail.com |
Lines 93-98
Link Here
|
93 |
${WRKSRC}/scripts/seaf-cli-wrapper.sh |
94 |
${WRKSRC}/scripts/seaf-cli-wrapper.sh |
94 |
${REINPLACE_CMD} 's/<evhtp.h>/<evhtp\/evhtp.h>/' ${WRKSRC}/server/upload-file.c \ |
95 |
${REINPLACE_CMD} 's/<evhtp.h>/<evhtp\/evhtp.h>/' ${WRKSRC}/server/upload-file.c \ |
95 |
${WRKSRC}/server/access-file.c ${WRKSRC}/server/http-server.c |
96 |
${WRKSRC}/server/access-file.c ${WRKSRC}/server/http-server.c |
|
|
97 |
${REINPLACE_CMD} -E 's/stat.+\$$/stat -f %Su $$/' ${WRKSRC}/scripts/seafile.sh |
96 |
post-install: |
98 |
post-install: |
97 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB} \ |
99 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB} \ |
98 |
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile \ |
100 |
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile \ |
Lines 111-118
Link Here
|
111 |
(cd ${STAGEDIR}${PREFIX}/lib && \ |
113 |
(cd ${STAGEDIR}${PREFIX}/lib && \ |
112 |
${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB}) |
114 |
${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB}) |
113 |
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} \ |
115 |
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} \ |
114 |
${WRKSRC}/scripts/sqlite2mysql.[ps][yh] \ |
|
|
115 |
${WRKSRC}/scripts/setup-seafile.sh \ |
116 |
${STAGEDIR}${PREFIX}/bin/seafile-admin |
116 |
${STAGEDIR}${PREFIX}/bin/seafile-admin |
117 |
${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][yh] ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER} |
117 |
${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][yh] ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER} |
118 |
${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*.[ps][yh] \ |
118 |
${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*.[ps][yh] \ |