View | Details | Raw Unified | Return to bug 160132
Collapse All | Expand All

(-)net-im/cjc/Makefile (-26 / +22 lines)
Lines 6-46 Link Here
6
#
6
#
7
7
8
PORTNAME=	cjc
8
PORTNAME=	cjc
9
PORTVERSION=	1.0.0.675
9
PORTVERSION=	1.2.1
10
PORTREVISION=	1
11
CATEGORIES=	net-im python
10
CATEGORIES=	net-im python
12
MASTER_SITES=	CENKES http://jabberstudio.2nw.net/cjc/
11
MASTER_SITES=	http://cloud.github.com/downloads/Jajcus/cjc/
13
# svn export -r675 http://cjc.jajcus.net/svn/cjc/trunk cjc
14
12
15
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	The Console Jabber Client
14
COMMENT=	The Console Jabber Client
17
15
18
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyxmpp>=1.0.0.644:${PORTSDIR}/net-im/py-pyxmpp
16
LICENSE=	GPLv2
17
LICENSE_FILE=	${WRKSRC}/COPYING
19
18
20
USE_BZIP2=	yes
19
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyxmpp>=1.1.0:${PORTSDIR}/net-im/py-pyxmpp
21
USE_PYTHON=	2.5+
22
MAKE_ENV+=	prefix=${PREFIX} pkg_datadir=${DATADIR} INSTALL_DIR="${INSTALL} -d"
23
MAKE_ARGS+=	-E prefix -E pkg_datadir -E pkg_docdir -E INSTALL -E INSTALL_DATA \
24
		-E INSTALL_DIR
25
26
.ifndef NOPORTDOCS
27
BUILD_DEPENDS+=	xsltproc:${PORTSDIR}/textproc/libxslt \
28
		docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
29
MAKE_ENV+=	pkg_docdir=${DOCSDIR}
30
PORTDOCS=	manual.html COPYING README TODO
31
.endif
32
20
33
post-extract:
21
USE_PYTHON=	2.6+
34
	@${MKDIR} ${WRKSRC}/.svn
35
22
36
post-patch:
23
post-patch:
37
.ifdef NOPORTDOCS
24
	@${GREP} -lR "/usr/bin/python" ${WRKSRC} | ${XARGS} \
38
	@${REINPLACE_CMD} -e '/^DOCS=/s|=.*|=|' -e '/$$(DESTDIR)$$(pkg_docdir)/d' ${WRKSRC}/Makefile
25
		${REINPLACE_CMD} -e "s|/usr/bin/python|${PYTHON_CMD}|"
26
	@${REINPLACE_CMD} -e \
27
		"s|prefix=.*|prefix=${PREFIX}| ; \
28
		 /pkg_docdir/s|^|#|g ; \
29
		 s|INSTALL=.*|INSTALL=${INSTALL}| ; \
30
		 s|INSTALL_DATA=.*|INSTALL_DATA=${INSTALL_DATA}| ; \
31
		 s|INSTALL_DIR=.*|INSTALL_DIR=${MKDIR}|g" ${WRKSRC}/Makefile
32
33
post-install:
34
.if !defined(NOPORTDOCS)
35
	@${MKDIR} ${DOCSDIR}
36
	${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${DOCSDIR}
37
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
38
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
39
	${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
39
.endif
40
.endif
40
	@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
41
		${XARGS} ${REINPLACE_CMD} -e "s!/usr/bin/python!${PYTHON_CMD}!"
42
	@${REINPLACE_CMD} -e '/^XSLTPROC=/s|=.*|=${LOCALBASE}/bin/xsltproc|' \
43
			-e '/^XSL_DIR=/s|=.*|=${LOCALBASE}/share/xsl/docbook/|' ${WRKSRC}/doc/Makefile
44
	@${REINPLACE_CMD} -e '/^DOCS=/s|ChangeLog||' ${WRKSRC}/Makefile
45
41
46
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)net-im/cjc/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (cjc-1.0.0.675.tar.bz2) = 6eab3aa0677a54aece74cdcbec1bafed3d901472937598305e81ce0632d6c670
1
SHA256 (cjc-1.2.1.tar.gz) = 8dcfb6969576b16d4ee6d8191751dea118dd9fd9efdba6ce524a6dcfb9196606
2
SIZE (cjc-1.0.0.675.tar.bz2) = 75969
2
SIZE (cjc-1.2.1.tar.gz) = 152563
(-)net-im/cjc/pkg-plist (-1 / +12 lines)
Lines 13-18 Link Here
13
%%DATADIR%%/cjc/main.pyc
13
%%DATADIR%%/cjc/main.pyc
14
%%DATADIR%%/cjc/plugin.py
14
%%DATADIR%%/cjc/plugin.py
15
%%DATADIR%%/cjc/plugin.pyc
15
%%DATADIR%%/cjc/plugin.pyc
16
%%DATADIR%%/cjc/plugins.py
17
%%DATADIR%%/cjc/plugins.pyc
16
%%DATADIR%%/cjc/themes.py
18
%%DATADIR%%/cjc/themes.py
17
%%DATADIR%%/cjc/themes.pyc
19
%%DATADIR%%/cjc/themes.pyc
18
%%DATADIR%%/cjc/tls.py
20
%%DATADIR%%/cjc/tls.py
Lines 63-68 Link Here
63
%%DATADIR%%/plugins/disco.pyc
65
%%DATADIR%%/plugins/disco.pyc
64
%%DATADIR%%/plugins/events.py
66
%%DATADIR%%/plugins/events.py
65
%%DATADIR%%/plugins/events.pyc
67
%%DATADIR%%/plugins/events.pyc
68
%%DATADIR%%/plugins/file_logger.py
69
%%DATADIR%%/plugins/file_logger.pyc
66
%%DATADIR%%/plugins/jogger_pl.py
70
%%DATADIR%%/plugins/jogger_pl.py
67
%%DATADIR%%/plugins/jogger_pl.pyc
71
%%DATADIR%%/plugins/jogger_pl.pyc
68
%%DATADIR%%/plugins/message.py
72
%%DATADIR%%/plugins/message.py
Lines 81-86 Link Here
81
%%DATADIR%%/plugins/roster_ei.pyc
85
%%DATADIR%%/plugins/roster_ei.pyc
82
%%DATADIR%%/plugins/shell.py
86
%%DATADIR%%/plugins/shell.py
83
%%DATADIR%%/plugins/shell.pyc
87
%%DATADIR%%/plugins/shell.pyc
88
%%DATADIR%%/plugins/sqlite_archive.py
89
%%DATADIR%%/plugins/sqlite_archive.pyc
84
%%DATADIR%%/plugins/test.py
90
%%DATADIR%%/plugins/test.py
85
%%DATADIR%%/plugins/test.pyc
91
%%DATADIR%%/plugins/test.pyc
86
%%DATADIR%%/plugins/vcard.py
92
%%DATADIR%%/plugins/vcard.py
Lines 89-95 Link Here
89
%%DATADIR%%/plugins/version.pyc
95
%%DATADIR%%/plugins/version.pyc
90
%%DATADIR%%/plugins/xmlconsole.py
96
%%DATADIR%%/plugins/xmlconsole.py
91
%%DATADIR%%/plugins/xmlconsole.pyc
97
%%DATADIR%%/plugins/xmlconsole.pyc
98
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
99
%%PORTDOCS%%%%DOCSDIR%%/README
100
%%PORTDOCS%%%%DOCSDIR%%/TODO
101
%%PORTDOCS%%%%DOCSDIR%%/manual.html
102
%%PORTDOCS%%@dirrm %%DOCSDIR%%
103
@dirrm %%DATADIR%%/plugins
92
@dirrm %%DATADIR%%/cjc/ui
104
@dirrm %%DATADIR%%/cjc/ui
93
@dirrm %%DATADIR%%/cjc
105
@dirrm %%DATADIR%%/cjc
94
@dirrm %%DATADIR%%/plugins
95
@dirrm %%DATADIR%%
106
@dirrm %%DATADIR%%

Return to bug 160132