mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
devel/libsearpc - move python to PYTHONPATH
This patch is to move libsearpc to PYTHONPATH instead of residing in the seafile directory. This was overlooked when moving the client seafile ports which require it for the cli. PR: 217539 Submitted by: ultima1252@gmail.com
This commit is contained in:
parent
a6bd31b78a
commit
042c5838ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435563
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= libsearpc
|
||||
PORTVERSION= 3.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= ultima1252@gmail.com
|
||||
@ -23,22 +24,4 @@ USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
HAIWENDIR= www/haiwen
|
||||
SEAFILE_SERVER= ${HAIWENDIR}/seafile-server
|
||||
SEALIB= ${SEAFILE_SERVER}/seafile/lib
|
||||
|
||||
USERS= seafile
|
||||
GROUPS= ${USERS}
|
||||
|
||||
PLIST_SUB= USERS=${USERS} \
|
||||
GROUPS=${GROUPS} \
|
||||
SEAFILE_SERVER=${SEAFILE_SERVER} \
|
||||
HAIWENDIR=${HAIWENDIR}
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${SEALIB}
|
||||
(cd ${STAGEDIR}${PREFIX}/lib && \
|
||||
${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB})
|
||||
${RM} -r ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -9,16 +9,15 @@ lib/libsearpc.so
|
||||
lib/libsearpc.so.1
|
||||
lib/libsearpc.so.1.0.2
|
||||
libdata/pkgconfig/libsearpc.pc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/__init__.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/client.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/client.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/client.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/common.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/common.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/common.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/server.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/server.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/server.pyo
|
||||
@dir(%%USERS%%,%%GROUPS%%,755) %%HAIWENDIR%%
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/client.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/client.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/client.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/common.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/common.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/common.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/server.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/server.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/server.pyo
|
||||
|
Loading…
Reference in New Issue
Block a user