# $OpenBSD: Makefile,v 1.4 2008/10/30 14:23:31 ajacoutot Exp $

COMMENT=		python library to access freedesktop.org standards

MODPY_EGG_VERSION=	0.16
DISTNAME=		pyxdg-${MODPY_EGG_VERSION}
PKGNAME=		py-xdg-${MODPY_EGG_VERSION}

CATEGORIES=		devel

HOMEPAGE=		http://freedesktop.org/wiki/Software/pyxdg

# LGPLv2
PERMIT_PACKAGE_CDROM=	Yes
PERMIT_PACKAGE_FTP=	Yes
PERMIT_DISTFILES_CDROM=	Yes
PERMIT_DISTFILES_FTP=	Yes

MASTER_SITES=		http://people.freedesktop.org/~lanius/

MODULES=		lang/python

# regression tests are present, but don't make much sense atm
NO_REGRESS=		Yes

pre-configure:
	${SUBST_CMD} ${WRKSRC}/xdg/{BaseDirectory.py,Menu.py}

.include <bsd.port.mk>
