09107dfdf0
- Update to 5.9.1 - Remove obsolete python 2.6 check - Remove obsolete zip_safe option
38 lines
1,020 B
Makefile
38 lines
1,020 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
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
USES= zip
|
|
|
|
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>
|