aboutsummaryrefslogtreecommitdiffstats
path: root/irc/py-supybot-plugins/Makefile
blob: 14912a7b5e3b05779c4dbf9438934279f7ed6747 (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
32
33
# New ports collection makefile for:    supybot-plugins
# Date created:     2005-07-12
# Whom:         Radim Kolar
#
# $FreeBSD$
#

PORTNAME=   supybot-plugins
PORTVERSION=    20060723
CATEGORIES= irc python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= supybot
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   Supybot-plugins-${PORTVERSION}

MAINTAINER= miwi@FreeBSD.org
COMMENT=    Official plugin pack for Supybot

RUN_DEPENDS=    supybot:${PORTSDIR}/irc/py-supybot

USE_PYTHON= 2.3+
USE_BZIP2=  yes

post-extract:
    @${RM} -rf ${WRKSRC}/_darcs

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>