blob: a67c97de4b65d3d4f995814ca5ec88c480884c37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.21 2020/12/19 19:16:22 gdt Exp $
DISTNAME= xmpppy-0.6.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
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
PYDISTUTILSPKG= yes
# fails with 0.6.2
PYTHON_VERSIONS_ACCEPTED= 27
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"
|