mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
31 lines
757 B
Makefile
31 lines
757 B
Makefile
# New ports collection makefile for: py-xdg
|
|
# Date created: 2004-06-25
|
|
# Whom: michael johnson <ahze@ahze.net>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports-stable/devel/py-xdg/Makefile,v 1.4 2005/08/12 00:08:44 ahze Exp $
|
|
#
|
|
|
|
PORTNAME= xdg
|
|
PORTVERSION= 0.15
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://www.freedesktop.org/~lanius/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= A python library to access freedesktop.org standards
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=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>
|