2011-11-16 10:57:15 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2011/11/16 15:57:15 rpointel Exp $
|
2006-11-10 23:13:31 -05:00
|
|
|
|
2009-06-01 14:38:33 -04:00
|
|
|
COMMENT= Python XMPP and Jabber implementation
|
2006-11-10 23:13:31 -05:00
|
|
|
|
2011-11-16 10:57:15 -05:00
|
|
|
MODPY_EGG_VERSION= 1.1.2
|
2009-06-01 14:38:33 -04:00
|
|
|
DISTNAME= pyxmpp-${MODPY_EGG_VERSION}
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/^py/py-/}
|
2009-06-01 14:38:33 -04:00
|
|
|
CATEGORIES= net devel
|
2006-11-10 23:13:31 -05:00
|
|
|
|
2009-06-01 14:38:33 -04:00
|
|
|
HOMEPAGE= http://pyxmpp.jajcus.net/
|
2006-11-10 23:13:31 -05:00
|
|
|
|
2009-06-01 14:38:33 -04:00
|
|
|
MAINTAINER= Will Maier <wcmaier@openbsd.org>
|
2006-11-10 23:13:31 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-11-16 10:57:15 -05:00
|
|
|
WANTLIB= xml2 ${MODPY_WANTLIB}
|
2006-11-10 23:13:31 -05:00
|
|
|
|
2011-11-16 10:57:15 -05:00
|
|
|
MASTER_SITES= http://cloud.github.com/downloads/Jajcus/pyxmpp/
|
2006-11-10 23:13:31 -05:00
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
2010-11-19 17:31:32 -05:00
|
|
|
BUILD_DEPENDS= textproc/libxml,-python
|
|
|
|
RUN_DEPENDS= textproc/libxml,-python \
|
|
|
|
net/py-dnspython
|
2006-11-10 23:13:31 -05:00
|
|
|
REGRESS_DEPENDS=${RUN_DEPENDS}
|
|
|
|
|
2011-06-13 04:47:51 -04:00
|
|
|
MODPY_ADJ_FILES=examples/*.py
|
|
|
|
|
2006-11-10 23:13:31 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-xmpp
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py \
|
|
|
|
${PREFIX}/share/examples/py-xmpp
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-xmpp
|
|
|
|
cd ${WRKSRC}/doc/www/api && tar cf - . | \
|
2006-11-10 23:21:28 -05:00
|
|
|
(cd ${PREFIX}/share/doc/py-xmpp && tar xf -)
|
2006-11-10 23:13:31 -05:00
|
|
|
|
|
|
|
do-regress:
|
|
|
|
@cd ${WRKSRC}/tests && PYTHONPATH=../ ${MODPY_BIN} all.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|