freebsd-ports/devel/py-xdg/Makefile
Michael Johnson b09e5eed7f - Add some more icon paths, [LOCALBASE|X11BASE]/share/pixmaps
- Use X11BASE/etc/xdg for xdg path for now. LOCALBASE/etc/xdg will
  be readded later.
- Bump PORTREVISION

Submitted by:	mezz
2005-06-05 19:34:58 +00:00

31 lines
707 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.14
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://www.freedesktop.org/~lanius/
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|${X11BASE}/etc|g ; \
s|%%X11BASE%%|${X11BASE}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/xdg/BaseDirectory.py \
${WRKSRC}/xdg/IconTheme.py
.include <bsd.port.mk>