Lines 1-24
Link Here
|
1 |
# Created by: bland@FreeBSD.org |
1 |
# Created by: Ben Woods <woodsb02@gmail.com> |
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= icu |
4 |
PORTNAME= pyicu |
5 |
PORTVERSION= 1.8 |
5 |
PORTVERSION= 1.9.2 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= devel python |
6 |
CATEGORIES= devel python |
8 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
10 |
DISTNAME= PyICU-${PORTVERSION} |
9 |
DISTNAME= PyICU-${PORTVERSION} |
11 |
|
10 |
|
12 |
MAINTAINER= bland@FreeBSD.org |
11 |
MAINTAINER= woodsb02@gmail.com |
13 |
COMMENT= Python extension wrapping IBM's ICU C++ API |
12 |
COMMENT= Python extension wrapping IBM's ICU C++ API |
14 |
|
13 |
|
15 |
USES= python |
14 |
LICENSE= MIT |
|
|
15 |
|
16 |
USES= python:3 |
16 |
USE_PYTHON= distutils autoplist |
17 |
USE_PYTHON= distutils autoplist |
17 |
|
18 |
|
18 |
MAKE_ENV+= \ |
19 |
MAKE_ENV+= PYICU_INCLUDES="${PREFIX}/include" \ |
19 |
PYICU_INCLUDES="${PREFIX}/include" \ |
20 |
PYICU_CFLAGS="-w:-DPYICU_VER=\"${PORTVERSION}\"" \ |
20 |
PYICU_CFLAGS="-w:-DPYICU_VER=\"$(PORTVERSION)\"" \ |
21 |
PYICU_LFLAGS="-L${PREFIX}/lib" |
21 |
PYICU_LFLAGS="-L${PREFIX}/lib" |
|
|
22 |
|
22 |
|
23 |
LIB_DEPENDS+= libicudata.so:${PORTSDIR}/devel/icu |
23 |
LIB_DEPENDS+= libicudata.so:${PORTSDIR}/devel/icu |
24 |
|
24 |
|