26 lines
723 B
Makefile
26 lines
723 B
Makefile
# $NetBSD: Makefile,v 1.14 2014/04/18 13:15:36 obache Exp $
|
|
|
|
DISTNAME= Babel-1.3
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= https://pypi.python.org/packages/source/B/Babel/
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
HOMEPAGE= http://babel.pocoo.org/
|
|
COMMENT= Collection of tools for internationalizing Python applications
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/bin/pybabel \
|
|
${DESTDIR}${PREFIX}/bin/pybabel-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|