forked from Lainports/freebsd-ports
- bump PORTREVISION PR: 177239 Submitted by: William Grzybowski <william88@gmail.com> (maintainer)
42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
# Created by: Hye-Shik Chang
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= irc
|
|
PORTVERSION= 8.0.1
|
|
PORTREVISION= 1
|
|
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 \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-runner>0:${PORTSDIR}/devel/py-pytest-runner
|
|
|
|
EXAMPLEFILES= irccat.py irccat2.py servermap.py testbot.py \
|
|
dccreceive.py dccsend.py
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.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 <bsd.port.post.mk>
|