1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/devel/py-xdg/Makefile
Kirill Ponomarev 97ff371782 Update to 0.6
PR:		ports/69976
Submitted by:	maintainer
2004-08-04 10:11:57 +00:00

30 lines
755 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.6
CATEGORIES= devel python
MASTER_SITES= http://freedesktop.org/Software/pyxdg/releases/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= ahze@ahze.net
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>