summaryrefslogtreecommitdiff
path: root/www/SOGo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/SOGo/Makefile')
-rw-r--r--www/SOGo/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/www/SOGo/Makefile b/www/SOGo/Makefile
index 4c11034bbb4..eaac27cc7f8 100644
--- a/www/SOGo/Makefile
+++ b/www/SOGo/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2011/10/16 05:36:32 manu Exp $
+# $NetBSD: Makefile,v 1.2 2011/12/14 15:02:24 manu Exp $
#
-DISTNAME= SOGo-2.0.0b1
+DISTNAME= SOGo-2.0.0b3
CATEGORIES= www
MASTER_SITES= http://www.sogo.nu/files/downloads/SOGo/Sources/
@@ -24,7 +24,9 @@ SOGOGROUP?= sogo
SOGOETCDIR?= ${PKG_SYSCONFDIR}/sogo
SOGORUNDIR?= ${VARBASE}/sogo
INSTALLATION_DIRS+= share/examples/SOGo
-CONF_FILES= ${DESTDIR}${PREFIX}/share/examples/SOGo/SOGo.conf \
+CONF_FILES+= ${DESTDIR}${PREFIX}/share/examples/SOGo/sogo-conf.sh \
+ ${PKG_SYSCONFDIR}/sogo-conf.sh
+CONF_FILES+= ${DESTDIR}${PREFIX}/share/examples/SOGo/SOGo.conf \
${PKG_SYSCONFDIR}/SOGo.conf
OWN_DIRS+= ${SOGOETCDIR}
OWN_DIRS+= ${SOGORUNDIR}
@@ -44,6 +46,8 @@ FILES_SUBST+= SOGOUSER=${SOGOUSER}
RCD_SCRIPTS= sogod
pre-install:
+ ${SED} -e "s|@SOGOUSER@|${SOGOUSER}|" ${FILESDIR}/sogo-conf.sh > \
+ ${DESTDIR}${PREFIX}/share/examples/SOGo/sogo-conf.sh
${SED} -e "s|/usr/GNUstep/System/Library|${PREFIX}/lib/GNUstep|" \
${WRKSRC}/Apache/SOGo.conf > \
${DESTDIR}${PREFIX}/share/examples/SOGo/SOGo.conf
@@ -58,5 +62,7 @@ pre-install:
.include "../../devel/SOPE/buildlink3.mk"
.include "../../devel/libmemcached/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
+DEPENDS+= zip:../../archivers/zip
+
.include "../../mk/bsd.pkg.mk"