mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support STAGE
This commit is contained in:
parent
c63136b5fe
commit
3b8a674f5b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348439
@ -16,7 +16,6 @@ LICENSE= GPLv3
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
NO_STAGE= yes
|
||||
PYDISTUTILS_PKGNAME= Radicale
|
||||
|
||||
USERS= radicale
|
||||
@ -44,9 +43,8 @@ post-patch:
|
||||
${REINPLACE_CMD} 's,~/.config/radicale,${DATADIR},g' ${WRKSRC}/config
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${ETCDIR}
|
||||
${INSTALL} -d -o ${USERS} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/config ${ETCDIR}/config.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/logging ${ETCDIR}/logging.sample
|
||||
${MKDIR} ${STAGEDIR}/${ETCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}/${ETCDIR}/config.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/logging ${STAGEDIR}/${ETCDIR}/logging.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -61,7 +61,6 @@ bin/radicale
|
||||
%%PYTHON_LIBDIR%%/site-packages/radicale/xmlutils.py
|
||||
%%PYTHON_LIBDIR%%/site-packages/radicale/xmlutils.pyc
|
||||
%%PYTHON_LIBDIR%%/site-packages/radicale/xmlutils.pyo
|
||||
@dirrmtry %%DATADIR%%
|
||||
@dirrmtry %%ETCDIR%%
|
||||
@dirrm %%PYTHON_LIBDIR%%/site-packages/radicale
|
||||
@dirrm %%PYTHON_LIBDIR%%/site-packages/radicale/auth
|
||||
@ -69,3 +68,4 @@ bin/radicale
|
||||
@dirrm %%PYTHON_LIBDIR%%/site-packages/radicale/storage
|
||||
@dirrmtry %%PYTHON_LIBDIR%%/site-packages
|
||||
@dirrmtry %%PYTHON_LIBDIR%%
|
||||
@exec /usr/bin/install -d -o radicale %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user