diff options
Diffstat (limited to 'devel/py-xdg/Makefile')
-rw-r--r-- | devel/py-xdg/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/py-xdg/Makefile b/devel/py-xdg/Makefile new file mode 100644 index 000000000..9db344c02 --- /dev/null +++ b/devel/py-xdg/Makefile @@ -0,0 +1,31 @@ +# 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 +PORTREVISION= 1 +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|${LOCALBASE}/etc|g ; \ + s|%%X11BASE%%|${X11BASE}|g ; \ + s|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/xdg/BaseDirectory.py \ + ${WRKSRC}/xdg/IconTheme.py + +.include <bsd.port.mk> |