# $MidnightBSD: trunk/devel/py3-xdg/Makefile 18136 2015-03-14 14:13:02Z laffer1 $

PORTNAME=	xdg
PORTVERSION=	0.25
CATEGORIES=	devel python
MASTER_SITES=	http://people.freedesktop.org/~takluyver/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	py${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Python 3 library to access freedesktop.org standards

LICENSE=	lgpl

USES=		python:3
USE_PYTHON=	distutils autoplist

post-patch:
	@${REINPLACE_CMD} -e \
		's|%%LOCALBASE%%|${LOCALBASE}|g' \
			${WRKSRC}/xdg/BaseDirectory.py

.include <bsd.port.mk>
