aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-02-18 22:42:49 +0800
committerpav <pav@FreeBSD.org>2005-02-18 22:42:49 +0800
commit5fefafde1d5eebce90f0f6aa649b3c77124a7993 (patch)
treea1452f135391eb3f66b28bf18343003b1b61c6d4 /net-im
parenta5f96534f1bdded7dc2e90213bd48917f947d4f8 (diff)
downloadfreebsd-ports-graphics-5fefafde1d5eebce90f0f6aa649b3c77124a7993.tar.gz
freebsd-ports-graphics-5fefafde1d5eebce90f0f6aa649b3c77124a7993.tar.zst
freebsd-ports-graphics-5fefafde1d5eebce90f0f6aa649b3c77124a7993.zip
An implemention of the Jabber conference server using the protocol defined in
JEP-0045. PR: ports/62585 Submitted by: Denis Shaposhnikov <dsh@neva.vlink.ru>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mu-conference/Makefile42
-rw-r--r--net-im/mu-conference/distinfo4
-rw-r--r--net-im/mu-conference/files/patch-src-jcomp.mk11
-rw-r--r--net-im/mu-conference/pkg-descr4
-rw-r--r--net-im/mu-conference/pkg-plist5
5 files changed, 66 insertions, 0 deletions
diff --git a/net-im/mu-conference/Makefile b/net-im/mu-conference/Makefile
new file mode 100644
index 00000000000..800d46c6b99
--- /dev/null
+++ b/net-im/mu-conference/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: mu-conference
+# Date created: Mon Feb 9 15:34:59 MSK 2004
+# Whom: Denis Shaposhnikov <dsh@vlink.ru>
+#
+# $FreeBSD$
+
+PORTNAME= mu-conference
+PORTVERSION= 0.6.0
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GENTOO} \
+ http://jabber.terrapin.com/JCR/:jcr
+MASTER_SITE_SUBDIR= distfiles
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} jcr-${JCR_VER}.tar.gz:jcr
+
+MAINTAINER= dsh@vlink.ru
+COMMENT= Multi-User Conferencing component for Jabber
+
+USE_GNOME= glib20
+WRKSRC= ${WRKDIR}/jcr-${JCR_VER}
+
+JCR_VER?= 0.2.4
+
+post-extract:
+ ${MV} ${WRKDIR}/${DISTNAME} ${WRKSRC}
+
+post-build:
+.for i in jcomp.mk main.c
+ ${CP} ${WRKSRC}/src/${i} ${WRKSRC}/${DISTNAME}/src/
+.endfor
+ (cd ${WRKSRC}/${DISTNAME}/src; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} jcomp.mk)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}/src/mu-conference ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}/muc-jcr.xml ${PREFIX}/etc/muc.xml-dist
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in FAQ README
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-im/mu-conference/distinfo b/net-im/mu-conference/distinfo
new file mode 100644
index 00000000000..9289a1706df
--- /dev/null
+++ b/net-im/mu-conference/distinfo
@@ -0,0 +1,4 @@
+MD5 (mu-conference-0.6.0.tar.gz) = e97433bf4a978329d639ce872bee3223
+SIZE (mu-conference-0.6.0.tar.gz) = 56272
+MD5 (jcr-0.2.4.tar.gz) = f88bcc4a8347fd1dd8ca50dff50341f3
+SIZE (jcr-0.2.4.tar.gz) = 128939
diff --git a/net-im/mu-conference/files/patch-src-jcomp.mk b/net-im/mu-conference/files/patch-src-jcomp.mk
new file mode 100644
index 00000000000..36114f01d1e
--- /dev/null
+++ b/net-im/mu-conference/files/patch-src-jcomp.mk
@@ -0,0 +1,11 @@
+--- src/jcomp.mk.orig Sun Oct 26 15:35:19 2003
++++ src/jcomp.mk Mon Feb 9 16:03:18 2004
+@@ -25,7 +25,7 @@
+ #CFLAGS:=$(CFLAGS) -pipe -Os -I../../jabberd -I../include
+ #LIBS:=$(LIBS) /usr/local/lib/ccmalloc-gcc.o -lccmalloc
+ #LIBS:=$(LIBS) -lmemusage
+-LIBS:=$(LIBS) -ljcomp -lm `pkg-config --libs glib-2.0` `pkg-config --libs gthread-2.0`
++LIBS:=-ljcomp -lm `pkg-config --libs glib-2.0` `pkg-config --libs gthread-2.0`
+ LDFLAGS:=-L../../lib
+
+ conference_OBJECTS=conference.o conference_room.o conference_user.o utils.o xdata.o admin.o roles.o xdb.o hash.o main.o
diff --git a/net-im/mu-conference/pkg-descr b/net-im/mu-conference/pkg-descr
new file mode 100644
index 00000000000..6697422d421
--- /dev/null
+++ b/net-im/mu-conference/pkg-descr
@@ -0,0 +1,4 @@
+An implemention of the conference server using the protocol defined in
+JEP-0045.
+
+WWW: http://www.jabberstudio.org/projects/mu-conference
diff --git a/net-im/mu-conference/pkg-plist b/net-im/mu-conference/pkg-plist
new file mode 100644
index 00000000000..3dd3a73287d
--- /dev/null
+++ b/net-im/mu-conference/pkg-plist
@@ -0,0 +1,5 @@
+bin/mu-conference
+etc/muc.xml-dist
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%