2014-01-18 00:11:27 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2014/01/17 23:11:27 wiz Exp $
|
2011-02-06 22:06:08 +01:00
|
|
|
|
|
|
|
DISTNAME= xmpppy-0.5.0rc1
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
|
|
PKGREVISION= 2
|
|
|
|
CATEGORIES= chat python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmpppy/}
|
|
|
|
|
2013-04-06 15:09:24 +02:00
|
|
|
MAINTAINER= schnoebe@NetBSD.org
|
2011-02-06 22:06:08 +01:00
|
|
|
HOMEPAGE= http://xmpppy.sourceforge.net/
|
|
|
|
COMMENT= XMPP (Jabber) library for Python
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-expat>=0nb4:../../textproc/py-expat
|
|
|
|
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
|
|
|
PYDISTUTILSPKG= yes
|
2014-01-18 00:11:27 +01:00
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= dns
|
2011-02-06 22:06:08 +01:00
|
|
|
|
|
|
|
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}
|
|
|
|
|
2014-01-18 00:11:27 +01:00
|
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
2011-02-06 22:06:08 +01:00
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|