44 lines
1.0 KiB
Makefile
Raw Normal View History

2016-01-12 13:19:37 +00:00
# $OpenBSD: Makefile,v 1.18 2016/01/12 13:19:37 ajacoutot Exp $
COMMENT= Python XMPP and Jabber implementation
MODPY_EGG_VERSION= 1.1.2
DISTNAME= pyxmpp-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME:S/^py/py-/}
CATEGORIES= net devel
2016-01-12 13:19:37 +00:00
REVISION= 1
HOMEPAGE= http://pyxmpp.jajcus.net/
2016-01-12 13:19:37 +00:00
MAINTAINER= Will Maier <willmaier@ml1.net>
# GPL
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ${MODPY_WANTLIB}
WANTLIB += pthread xml2
MASTER_SITES= http://cloud.github.com/downloads/Jajcus/pyxmpp/
MODULES= lang/python
2010-11-19 22:31:32 +00:00
BUILD_DEPENDS= textproc/libxml,-python
RUN_DEPENDS= textproc/libxml,-python \
net/py-dnspython
2013-03-11 11:35:43 +00:00
TEST_DEPENDS=${RUN_DEPENDS}
MODPY_ADJ_FILES=examples/*.py
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-11 04:21:28 +00:00
(cd ${PREFIX}/share/doc/py-xmpp && tar xf -)
2013-03-11 11:35:43 +00:00
do-test:
@cd ${WRKSRC}/tests && PYTHONPATH=../ ${MODPY_BIN} all.py
.include <bsd.port.mk>