1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/irc/py-irc/Makefile
Marcus von Appen 734b63302e - Convert ports of irc/ and lang/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-20 17:52:16 +00:00

37 lines
994 B
Makefile

# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= irc
PORTVERSION= 8.9.1
CATEGORIES= irc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= IRC protocol client library for Python
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
${PYTHON_PKGNAMEPREFIX}jaraco.util>0:${PORTSDIR}/devel/py-jaraco.util
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hgtools>0:${PORTSDIR}/devel/py-hgtools \
${PYTHON_PKGNAMEPREFIX}pytest-runner>0:${PORTSDIR}/devel/py-pytest-runner
USES= python zip
USE_PYTHON= distutils autoplist
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>