summaryrefslogtreecommitdiff
path: root/chat/ejabberd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chat/ejabberd/Makefile')
-rw-r--r--chat/ejabberd/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/chat/ejabberd/Makefile b/chat/ejabberd/Makefile
index e18f95748bd..80e2298b568 100644
--- a/chat/ejabberd/Makefile
+++ b/chat/ejabberd/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.52 2015/04/26 11:52:18 ryoon Exp $
+# $NetBSD: Makefile,v 1.53 2015/04/29 10:03:58 fhajny Exp $
-DISTNAME= ejabberd-15.03
-PKGREVISION= 1
+DISTNAME= ejabberd-15.04
CATEGORIES= chat
MASTER_SITES= http://www.process-one.net/downloads/ejabberd/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tgz
@@ -43,6 +42,7 @@ BUILD_DEFS+= VARBASE
PKG_SYSCONFSUBDIR= ejabberd
.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
EJABBERD_USER?= ejabberd
EJABBERD_GROUP?= ejabberd
@@ -54,14 +54,10 @@ OWN_DIRS_PERMS+= ${EJABBERD_PIDDIR} ${EJABBERD_USER} ${EJABBERD_GROUP} 0770
OWN_DIRS_PERMS+= ${EJABBERD_LOGDIR} ${EJABBERD_USER} ${EJABBERD_GROUP} 0770
OWN_DIRS_PERMS+= ${EJABBERD_DB} ${EJABBERD_USER} ${EJABBERD_GROUP} 0770
-FILES_SUBST+= DISTNAME=${DISTNAME}
FILES_SUBST+= EJABBERD_USER=${EJABBERD_USER}
FILES_SUBST+= EJABBERD_GROUP=${EJABBERD_GROUP}
FILES_SUBST+= EJABBERD_DB=${EJABBERD_DB}
-PLIST_SUBST+= DISTNAME=${DISTNAME}
-PLIST_SUBST+= EJABBERD_EXDIR=${EJABBERD_EXDIR}
-
PKG_GROUPS+= ${EJABBERD_GROUP}
PKG_USERS+= ${EJABBERD_USER}:${EJABBERD_GROUP}
PKG_GECOS.${EJABBERD_USER}= ejabberd user
@@ -81,7 +77,8 @@ CONF_FILES_PERMS+= ${EGDIR}/inetrc ${PKG_SYSCONFDIR}/inetrc \
${ROOT_USER} ${EJABBERD_GROUP} 0640
SPECIAL_PERMS+= sbin/ejabberdctl ${ROOT_USER} ${EJABBERD_GROUP} 0750
-REPLACE_SH= ejabberdctl.template tools/captcha.sh
+REPLACE_SH= ejabberdctl.template tools/captcha.sh \
+ tools/joincluster tools/leavecluster
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Localizing paths