aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2014-03-17 08:16:06 +0800
committerfeld <feld@FreeBSD.org>2014-03-17 08:16:06 +0800
commit56a28c5bab0cbddb6610ed6ae3fe6131be92ca60 (patch)
treee736116de2ecef67d842993a8b546a77468a8a66 /www
parent44c9a04a2f6f192314715384297d638fdf8d13b5 (diff)
downloadfreebsd-ports-gnome-56a28c5bab0cbddb6610ed6ae3fe6131be92ca60.tar.gz
freebsd-ports-gnome-56a28c5bab0cbddb6610ed6ae3fe6131be92ca60.tar.zst
freebsd-ports-gnome-56a28c5bab0cbddb6610ed6ae3fe6131be92ca60.zip
Support STAGE
Diffstat (limited to 'www')
-rw-r--r--www/radicale/Makefile8
-rw-r--r--www/radicale/pkg-plist2
2 files changed, 4 insertions, 6 deletions
diff --git a/www/radicale/Makefile b/www/radicale/Makefile
index 46554d08722c..ca32802df755 100644
--- a/www/radicale/Makefile
+++ b/www/radicale/Makefile
@@ -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>
diff --git a/www/radicale/pkg-plist b/www/radicale/pkg-plist
index b0d314123797..62ca10fb1010 100644
--- a/www/radicale/pkg-plist
+++ b/www/radicale/pkg-plist
@@ -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%%