freebsd-ports/devel/py-country/Makefile

31 lines
779 B
Makefile
Raw Normal View History

# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
PORTNAME= country
2013-12-11 11:34:02 +01:00
PORTVERSION= 1.3
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
MASTER_SITE_SUBDIR=source/p/pycountry
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pycountry-${PORTVERSION}
MAINTAINER= demon@FreeBSD.org
COMMENT= Python API for ISO country, subdivision, language and currency
USE_ZIP= yes
USE_PYTHON= yes
USES= gettext:build
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= pycountry
2013-11-07 11:03:46 +01:00
PYDISTUTILS_AUTOPLIST= yes
NO_STAGE= yes
post-patch:
${RM} ${WRKSRC}/src/pycountry/locales/tr/LC_MESSAGES/iso639.po.orig
pre-build:
${LOCALBASE}/bin/msgfmt ${WRKSRC}/src/pycountry/locales/tr/LC_MESSAGES/iso639.po -o ${WRKSRC}/src/pycountry/locales/tr/LC_MESSAGES/iso639.mo
2013-10-27 17:42:11 +01:00
.include <bsd.port.mk>