freebsd-ports/textproc/py-gettext/Makefile
Ruslan Makhmatkhanov 05b0797a7a - update to 2.0
- depend on devel/py-unittest2 conditionally (doesn't needed for python3)

Approved by:   novel (mentor, implicit)
2011-12-25 12:08:12 +00:00

32 lines
710 B
Makefile

# New ports collection makefile for: py-gettext
# Date created: Nov 11, 2011
# Whom: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
#
# $FreeBSD$
#
PORTNAME= gettext
PORTVERSION= 2.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= rm@FreeBSD.org
COMMENT= Python Gettext po to mo file compiler
LICENSE= BSD
# Python3 and Pypy 1.7 ready
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= python-${PORTNAME}
USE_ZIP= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} <= 300
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>=0:${PORTSDIR}/devel/py-unittest2
.endif
.include <bsd.port.post.mk>