aboutsummaryrefslogtreecommitdiffstats
path: root/dns/py-idnkit2/Makefile
blob: 1feef6e2105ef21a62e9e66411e6c7fe4e4c56a3 (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
# Created by: Rafal Lesniak <fbsd@grid.einherjar.de>
# $FreeBSD$

PORTNAME=   idnkit-python
PORTVERSION=    2.2
CATEGORIES= dns
MASTER_SITES=   http://jprs.co.jp/idn/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= fbsd@grid.einherjar.de
COMMENT=    Python bindings for Internationalized Domain Name toolkit 2

LIB_DEPENDS=    idnkitlite.2:${PORTSDIR}/dns/idnkit2

USE_BZIP2=  yes
USE_PYTHON= yes
USE_PYDISTUTILS=    yes

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/idnkit.so

post-patch:
        ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
            ${WRKSRC}/setup.py

.include <bsd.port.mk>