# Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= irc PORTVERSION= 8.0 CATEGORIES= irc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= william88@gmail.com COMMENT= IRC protocol client library for Python LICENSE= MIT USE_PYTHON= yes USE_PYDISTUTILS=easy_install USE_ZIP= yes BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}hgtools>0:${PORTSDIR}/devel/py-hgtools EXAMPLEFILES= irccat.py irccat2.py servermap.py testbot.py \ dccreceive.py dccsend.py EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} .include .if ${PORT_OPTIONS:MEXAMPLES} post-install: @${MKDIR} ${EXAMPLESDIR} .for file in ${EXAMPLEFILES} @${INSTALL_SCRIPT} ${WRKSRC}/scripts/${file} ${EXAMPLESDIR}/ .endfor .endif .if ${PYTHON_REL} < 270 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib>0:${PORTSDIR}/devel/py-importlib RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse .endif .include