aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/cjc
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-11-30 01:14:20 +0800
committersat <sat@FreeBSD.org>2006-11-30 01:14:20 +0800
commitaabddd527b447bb968b5d497039add1a2b7ba390 (patch)
tree37250898829a91d7138ae52b97c2ed1b5e81c521 /net-im/cjc
parent79b9dd7a1e200b78b9ddb0e82adc9db10ad75698 (diff)
downloadfreebsd-ports-gnome-aabddd527b447bb968b5d497039add1a2b7ba390.tar.gz
freebsd-ports-gnome-aabddd527b447bb968b5d497039add1a2b7ba390.tar.zst
freebsd-ports-gnome-aabddd527b447bb968b5d497039add1a2b7ba390.zip
- Update to latest snapshots
- Adopt pyxmpp
Diffstat (limited to 'net-im/cjc')
-rw-r--r--net-im/cjc/Makefile26
-rw-r--r--net-im/cjc/distinfo6
-rw-r--r--net-im/cjc/pkg-plist6
3 files changed, 27 insertions, 11 deletions
diff --git a/net-im/cjc/Makefile b/net-im/cjc/Makefile
index d0bef0b7ed4f..e34239eb8fd9 100644
--- a/net-im/cjc/Makefile
+++ b/net-im/cjc/Makefile
@@ -6,30 +6,40 @@
#
PORTNAME= cjc
-PORTVERSION= 1.0.0
+PORTVERSION= 1.0.0.675
CATEGORIES= net-im python
-MASTER_SITES= http://jabberstudio.2nw.net/cjc/ CSME
+MASTER_SITES= CSME http://jabberstudio.2nw.net/cjc/
+# svn export -r675 http://cjc.jajcus.net/svn/cjc/trunk cjc
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= The Console Jabber Client
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyxmpp>=1.0.0:${PORTSDIR}/net-im/py-pyxmpp
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyxmpp>=1.0.0.644:${PORTSDIR}/net-im/py-pyxmpp
+USE_BZIP2= yes
USE_PYTHON= 2.3+
MAKE_ENV+= prefix=${PREFIX} pkg_datadir=${DATADIR} INSTALL_DIR="${INSTALL} -d"
MAKE_ARGS+= -E prefix -E pkg_datadir -E pkg_docdir -E INSTALL -E INSTALL_DATA \
-E INSTALL_DIR
-.ifdef NOPORTDOCS
-MAKE_ENV+= pkg_docdir= DOCS=
-MAKE_ARGS+= -E DOCS
-.else
+.ifndef NOPORTDOCS
+BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \
+ docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
MAKE_ENV+= pkg_docdir=${DOCSDIR}
-PORTDOCS= manual.html COPYING ChangeLog README TODO
+PORTDOCS= manual.html COPYING README TODO
.endif
+post-extract:
+ @${MKDIR} ${WRKSRC}/.svn
+
post-patch:
+.ifdef NOPORTDOCS
+ @${REINPLACE_CMD} -e '/^DOCS=/s|=.*|=|' -e '/INSTALL_DATA.*DOCS/d' ${WRKSRC}/Makefile
+.endif
@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
${XARGS} ${REINPLACE_CMD} -e "s!/usr/bin/python!${PYTHON_CMD}!"
+ @${REINPLACE_CMD} -e '/^XSLTPROC=/s|=.*|=${LOCALBASE}/bin/xsltproc|' \
+ -e '/^XSL_DIR=/s|=.*|=${LOCALBASE}/share/xsl/docbook/|' ${WRKSRC}/doc/Makefile
+ @${REINPLACE_CMD} -e '/^DOCS=/s|ChangeLog||' ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/net-im/cjc/distinfo b/net-im/cjc/distinfo
index 15ad62902bfb..2ffbb394ec9b 100644
--- a/net-im/cjc/distinfo
+++ b/net-im/cjc/distinfo
@@ -1,3 +1,3 @@
-MD5 (cjc-1.0.0.tar.gz) = a557fabab8ca2070f444a307cb18d66a
-SHA256 (cjc-1.0.0.tar.gz) = a2f00c28dc5ae86551e1ce1a8bff98d2b33566fe14a60c4f689b15b81f32cc00
-SIZE (cjc-1.0.0.tar.gz) = 106948
+MD5 (cjc-1.0.0.675.tar.bz2) = b709e1c744bdfdaa2583adc3dcd9814e
+SHA256 (cjc-1.0.0.675.tar.bz2) = 6eab3aa0677a54aece74cdcbec1bafed3d901472937598305e81ce0632d6c670
+SIZE (cjc-1.0.0.675.tar.bz2) = 75969
diff --git a/net-im/cjc/pkg-plist b/net-im/cjc/pkg-plist
index 952868b67cbf..babd6ac00c4d 100644
--- a/net-im/cjc/pkg-plist
+++ b/net-im/cjc/pkg-plist
@@ -1,6 +1,8 @@
bin/cjc
%%DATADIR%%/cjc/__init__.py
%%DATADIR%%/cjc/__init__.pyc
+%%DATADIR%%/cjc/cjc_globals.py
+%%DATADIR%%/cjc/cjc_globals.pyc
%%DATADIR%%/cjc/cjclogging.py
%%DATADIR%%/cjc/cjclogging.pyc
%%DATADIR%%/cjc/common.py
@@ -67,12 +69,16 @@ bin/cjc
%%DATADIR%%/plugins/message.pyc
%%DATADIR%%/plugins/muc.py
%%DATADIR%%/plugins/muc.pyc
+%%DATADIR%%/plugins/multicast.py
+%%DATADIR%%/plugins/multicast.pyc
%%DATADIR%%/plugins/presence.py
%%DATADIR%%/plugins/presence.pyc
%%DATADIR%%/plugins/python.py
%%DATADIR%%/plugins/python.pyc
%%DATADIR%%/plugins/roster.py
%%DATADIR%%/plugins/roster.pyc
+%%DATADIR%%/plugins/roster_ei.py
+%%DATADIR%%/plugins/roster_ei.pyc
%%DATADIR%%/plugins/shell.py
%%DATADIR%%/plugins/shell.pyc
%%DATADIR%%/plugins/test.py