freebsd-ports/irc/py-supybot-plugins/Makefile
Martin Wilke 1b1b29c5e6 - Get rip python 2.3+
Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
2009-12-13 17:00:14 +00:00

36 lines
933 B
Makefile

# New ports collection makefile for: supybot-plugins
# Date created: 2005-07-12
# Whom: 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= 2.5+
USE_BZIP2= 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>