26 lines
607 B
Makefile
26 lines
607 B
Makefile
# Created by: bland@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= icu
|
|
PORTVERSION= 1.8
|
|
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= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
MAKE_ENV+= \
|
|
PYICU_INCLUDES="${PREFIX}/include" \
|
|
PYICU_CFLAGS="-w:-DPYICU_VER=\"$(PORTVERSION)\"" \
|
|
PYICU_LFLAGS="-L${PREFIX}/lib"
|
|
|
|
LIB_DEPENDS+= libicudata.so:${PORTSDIR}/devel/icu
|
|
|
|
.include <bsd.port.mk>
|