aboutsummaryrefslogtreecommitdiffstats
path: root/dns/py-idnkit2/Makefile
blob: cae70081453f7280948441805ee46c1643342cc2 (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
# New ports collection makefile for:    idnkit
# Date created:     13 November 2011
# Whom:         Rafal Lesniak <fbsd@grid.einherjar.de>
#
# $FreeBSD$

PORTNAME=   idnkit-python
PORTVERSION=    2.1
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>