aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-icu/Makefile
blob: 0e1e9fa07212b964fcf6613c1b95369bb8ace202 (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
# Created by: bland@FreeBSD.org
# $FreeBSD$

PORTNAME=   icu
PORTVERSION=    1.5
CATEGORIES= devel python
MASTER_SITES=   ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR= source/P/PyICU
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   PyICU-${PORTVERSION}

MAINTAINER= bland@FreeBSD.org
COMMENT=    Python extension wrapping IBM's ICU C++ API

USE_PYTHON=     yes
USE_PYDISTUTILS=    easy_install
PYDISTUTILS_PKGNAME=    PyICU
PYEASYINSTALL_ARCHDEP=  yes

MAKE_ENV+= \
    PYICU_INCLUDES="${PREFIX}/include" \
    PYICU_CFLAGS="-w:-DPYICU_VER=\"$(PORTVERSION)\"" \
    PYICU_LFLAGS="-L${PREFIX}/lib" \
    PYICU_LIBRARIES="icui18n:icuuc:icudata"

LIB_DEPENDS+=   icudata:${PORTSDIR}/devel/icu

.include <bsd.port.mk>