freebsd-ports/textproc/py-gettext/Makefile
Antoine Brodin 1b85bc9332 Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle
python 2.7.10

Differential Revision:	https://reviews.freebsd.org/D2639
Reviewed by:	sunpoet, mva
2015-05-26 16:47:02 +00:00

25 lines
511 B
Makefile

# $FreeBSD$
PORTNAME= gettext
PORTVERSION= 2.1
PORTREVISION= 1
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
USES= python zip
USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} <= 3000
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>=0:${PORTSDIR}/devel/py-unittest2
.endif
.include <bsd.port.post.mk>