pkgsrc/chat/py-xmpppy/Makefile
schnoebe 64fc06e260 Imported py25-xmpppy from local development.
XMPPPY is an implementation of the XMPP (Jabber) protocols in
Python.

It is similar to JABBERPY, but as a currently maintained project.
2011-02-06 21:06:08 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2011/02/06 21:06:08 schnoebe Exp $
#
DISTNAME= xmpppy-0.5.0rc1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= chat python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmpppy/}
MAINTAINER= schnoebe@netbsd.org
HOMEPAGE= http://xmpppy.sourceforge.net/
COMMENT= XMPP (Jabber) library for Python
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-dns>=1.7.1:../../net/py-dns
DEPENDS+= ${PYPKGPREFIX}-expat>=0nb4:../../textproc/py-expat
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
DOCDIR= ${PREFIX}/share/doc/py-xmpppy
EXDIR= ${PREFIX}/share/examples/py-xmpppy
INSTALLATION_DIRS+= ${DOCDIR} ${EXDIR}
post-install:
${INSTALL_SCRIPT_DIR} ${DESTDIR}${EXDIR}
${INSTALL_SCRIPT} ${WRKSRC}/doc/examples/*.py \
${DESTDIR}${EXDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html \
${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.png \
${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.css \
${DESTDIR}${DOCDIR}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"