summaryrefslogtreecommitdiff
path: root/net/Radicale/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/Radicale/Makefile')
-rw-r--r--net/Radicale/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/Radicale/Makefile b/net/Radicale/Makefile
index aebb01a1909..2efdccd612d 100644
--- a/net/Radicale/Makefile
+++ b/net/Radicale/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2015/01/16 11:28:08 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2015/01/28 07:22:51 wiz Exp $
DISTNAME= Radicale-0.10
+PKGREVISION= 1
CATEGORIES= net time www
MASTER_SITES= http://pypi.python.org/packages/source/R/Radicale/
@@ -15,14 +16,14 @@ INSTALLATION_DIRS= ${EGDIR}
OWN_DIRS= ${PKG_SYSCONFDIR}/radicale
CONF_FILES+= ${EGDIR}/config ${PKG_SYSCONFDIR}/radicale/config
-#PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
-
SUBST_CLASSES+= config
-SUBST_SED.config+= -e 's,/etc/radicale/config,${PKG_SYSCONFDIR}/radicale/config,'
-SUBST_FILES.config+= radicale/config.py
+SUBST_SED.config+= -e 's,/etc,${PKG_SYSCONFDIR},'
+SUBST_FILES.config+= radicale/config.py config logging
SUBST_STAGE.config= pre-configure
SUBST_MESSAGE.config= Fixing path to configuration file.
+.include "options.mk"
+
post-build:
${SED} -e "s#/etc#${PKG_SYSCONFDIR}#" -e "s#apache2/#httpd/#" \
${WRKSRC}/config >${WRKSRC}/config.pkgsrc
@@ -30,7 +31,6 @@ post-build:
post-install:
${INSTALL_DATA} ${WRKSRC}/config.pkgsrc \
${DESTDIR}${PREFIX}/${EGDIR}/config
-# ${MV} ${DESTDIR}${PREFIX}/bin/radicale ${DESTDIR}${PREFIX}/bin/radicale-${PYVERSSUFFIX}
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"