freebsd-ports/devel/py-xdg/Makefile
Michael Johnson e59c1d43c5 Remove freedesktop.org from MASTER_SITES since the distfile has
now shown up and does not match distinfo

Pointed out by:	Pointy hat via kris
Approved by:	adamw (implicit)
2004-11-23 23:45:12 +00:00

30 lines
756 B
Makefile

# New ports collection makefile for: py-xdg
# Date created: 2004-06-25
# Whom: michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#
PORTNAME= xdg
PORTVERSION= 0.8
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ahze
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= ahze@FreeBSD.org
COMMENT= A python library to access freedesktop.org standards
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g ; \
s|/usr/share|/usr/share:${X11BASE}/share|g' \
${WRKSRC}/xdg/BaseDirectory.py
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/xdg/IconTheme.py
.include <bsd.port.mk>