blob: ac4e8c237ab70ef6760820586b0b0c5fea354e1c (
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.10 2015/12/05 21:25:30 adam Exp $
DISTNAME= xmpppy-0.5.0rc1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 3
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}-expat>=0nb4:../../textproc/py-expat
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
PYTHON_VERSIONED_DEPENDENCIES= dns
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # not yet ported as of 0.5.0rc1
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/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|