freebsd-ports/devel/py-xdg/Makefile
Dima Panov afb4073fe0 devel/py-xdg: limit to use python2 only, for python3 already exist devel/py3-xdg port.
This unbreak some depended ports like textproc/ibus, which also limited to python2, when python3 sets as default

PR:		215921
Submitted by:	myself
Approved by:	gnome (kwm via irc)
2017-02-09 05:30:11 +00:00

27 lines
644 B
Makefile

# Created by: michael johnson <ahze@ahze.net>
# $FreeBSD$
# $MCom: ports/devel/py-xdg/Makefile,v 1.4 2007/09/10 05:35:05 mezz Exp $
PORTNAME= xdg
PORTVERSION= 0.25
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://people.freedesktop.org/~takluyver/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Python library to access freedesktop.org standards
LICENSE= LGPL20
NO_ARCH= yes
USES= python:2
USE_PYTHON= autoplist distutils
post-patch:
@${REINPLACE_CMD} -e \
's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/xdg/BaseDirectory.py
.include <bsd.port.mk>