1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/irc/py-supybot-plugins/Makefile

34 lines
866 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= 2.5+
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>