freebsd-ports/devel/py-icu/Makefile

29 lines
694 B
Makefile

# 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
NO_STAGE= yes
.include <bsd.port.mk>