freebsd-ports/irc/py-supybot-plugins/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

33 lines
865 B
Makefile

# Created by: Radim Kolar
# $FreeBSD$
PORTNAME= supybot-plugins
PORTVERSION= 20060723
PORTREVISION= 1
CATEGORIES= irc python
MASTER_SITES= SF/supybot/OldFiles
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Supybot-plugins-${PORTVERSION}
MAINTAINER= dhn@FreeBSD.org
COMMENT= Official plugin pack for Supybot
RUN_DEPENDS= supybot:${PORTSDIR}/irc/py-supybot
USE_PYTHON= yes
USE_BZIP2= yes
NO_STAGE= yes
post-extract:
# Delete, because it now included in irc/py-supybot
.for data in BadWords Dunno Success _darcs
@${RM} -rf ${WRKSRC}/${data}
.endfor
do-build:
cd ${WRKSRC} && ${PYTHON_CMD} -c 'import compileall;compileall.compile_dir(".");' && ${PYTHON_CMD} -O -c 'import compileall;compileall.compile_dir(".");'
do-install:
cd ${WRKSRC} && ${FIND} . | ${CPIO} -pdm -R ${BINOWN}:${BINGRP} ${PYTHONPREFIX_SITELIBDIR}/supybot/plugins
.include <bsd.port.mk>