blob: b385e1b23934a2a7db4c8b2640d8b1bb1e75bda4 (
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
|
# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= irc
PORTVERSION= 13.1
CATEGORIES= irc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= IRC protocol client library for Python
LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hgtools>0:devel/py-hgtools \
${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six \
${PYTHON_PKGNAMEPREFIX}jaraco.util>0:devel/py-jaraco.util \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
PORTEXAMPLES= irccat.py irccat2.py servermap.py testbot.py \
dccreceive.py dccsend.py ssl-cat.py
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
OPTIONS_DEFINE= EXAMPLES
post-patch:
${CHMOD} -R o-w ${WRKSRC}/irc.egg-info
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${PORTEXAMPLES:S,^,${WRKSRC}/scripts/,} ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>
|