aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-xdg/Makefile
blob: 2a1085e41839006c7d51c6fa726fd70599854cc7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:    py-xdg
# Date created:     2004-06-25
# Whom:         michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#   $MCom: ports/devel/py-xdg/Makefile,v 1.4 2007/09/10 05:35:05 mezz Exp $
#

PORTNAME=   xdg
PORTVERSION=    0.17
CATEGORIES= devel python
MASTER_SITES=   http://people.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
PYDISTUTILS_PKGNAME=    pyxdg

post-patch:
    @${REINPLACE_CMD} -e \
        's|%%LOCALBASE%%|${LOCALBASE}|g' \
            ${WRKSRC}/xdg/BaseDirectory.py

.include <bsd.port.mk>