aboutsummaryrefslogtreecommitdiffstats
path: root/irc/py-supybot-plugins/Makefile
blob: 7e752bd62eb9d66ad08991f60a8e650202e3b9cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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

USES=       python tar:bzip2

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} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/supybot/plugins

.include <bsd.port.mk>