summaryrefslogtreecommitdiff
path: root/net/py-irclib/Makefile
blob: b98f4937653d25ce9e3c10859e17932d4f7ee6d0 (plain)
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
34
# $NetBSD: Makefile,v 1.3 2012/12/22 13:34:49 imil Exp $
#

IRCVERS=	3.4.2
DISTNAME=	irc-${IRCVERS}
PKGNAME=	${PYPKGPREFIX}-irclib-${IRCVERS}
CATEGORIES=	net python
MASTER_SITES=	http://pypi.python.org/packages/source/i/irc/
EXTRACT_SUFX=	.zip

MAINTAINER=	imil@NetBSD.org
HOMEPAGE=	https://bitbucket.org/jaraco/irc
COMMENT=	Internet Relay Chat (IRC) protocol client library
LICENSE=	gnu-gpl-v2

USE_LANGUAGES=	# none

.include "../../lang/python/egg.mk"

PLIST_VARS+=	requires
.if ${PYVERSSUFFIX} == "2.5" || ${PYVERSSUFFIX} == "2.6"
PLIST.requires=	yes
.endif

post-extract:
	cd ${WRKSRC} && ${CHMOD} ${SHAREMODE} irc.egg-info/*

# for some reason, this package does not install egg infos
post-install:
	${INSTALL_DATA} ${WRKSRC}/irc.egg-info/*		\
		${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_INFODIR}

.include "../../devel/py-hgtools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"