f94a4a954a
Bump PKGREVISION
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2022/01/05 19:56:33 wiz Exp $
|
|
|
|
DISTNAME= xmpppy-0.7.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= chat python
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=xmpppy/}
|
|
GITHUB_PROJECT= xmpppy
|
|
|
|
MAINTAINER= gdt@NetBSD.org
|
|
HOMEPAGE= http://xmpppy.sourceforge.net/
|
|
COMMENT= XMPP (Jabber) library for Python
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
|
|
DEPENDS+= ${PYPKGPREFIX}-expat>=0nb4:../../textproc/py-expat
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
USE_PKG_RESOURCES= 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}/docs/examples/*.py \
|
|
${DESTDIR}${EXDIR}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html \
|
|
${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.png \
|
|
${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.css \
|
|
${DESTDIR}${DOCDIR}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|