aboutsummaryrefslogtreecommitdiffstats
path: root/irc/py-irclib/Makefile
blob: 5a836b06af9a8447a106463df5ff8c55580952b7 (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:    py-irclib
# Date created:             25 April 2001
# Whom:                 Hye-Shik Chang
#
# $FreeBSD$
#

PORTNAME=   irclib
PORTVERSION=    0.4.8
CATEGORIES= irc python
MASTER_SITES=   SF/python-${PORTNAME}/python-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   python-irclib-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    IRC protocol client library for Python

USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=    python-irclib
EXAMPLEFILES=   irccat irccat2 servermap testbot.py \
        dccreceive dccsend
EXAMPLESDIR=    ${PREFIX}/share/examples/py-${PORTNAME}

.if !defined(NOPORTEXAMPLES)
post-install:
    @${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLEFILES}
    @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${EXAMPLESDIR}/
.endfor
.endif

.include <bsd.port.mk>