openbsd-ports/devel/py-xdg/Makefile
2008-04-17 16:54:52 +00:00

31 lines
724 B
Makefile

# $OpenBSD: Makefile,v 1.2 2008/04/17 16:54:52 ajacoutot Exp $
COMMENT= python library to access freedesktop.org standards
MODPY_EGG_VERSION= 0.15
DISTNAME= pyxdg-${MODPY_EGG_VERSION}
PKGNAME= py-xdg-${MODPY_EGG_VERSION}p0
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:
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g;' \
-e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g' ${WRKSRC}/xdg/*.py
.include <bsd.port.mk>