aboutsummaryrefslogblamecommitdiff
path: root/devel/py-icu/Makefile
blob: 143bf685cbb2791a353546c6b9e1bcde22034c48 (plain) (tree)
1
2
3
4
5
                               
           

                   
                   








                                                           






                                            
                                                          


                                               
                                             
 
                   
                      
# 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>