c2953d1ff4
pyxdg support Python3 since version 0.20, so adjust out port accordingly. While here, add NO_ARCH and sort USE_PYTHON values. PR: 209896 Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw> With hat: gnome
26 lines
626 B
Makefile
26 lines
626 B
Makefile
# Created by: 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.25
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://people.freedesktop.org/~takluyver/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Python library to access freedesktop.org standards
|
|
|
|
LICENSE= LGPL20
|
|
|
|
NO_ARCH= yes
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
${WRKSRC}/xdg/BaseDirectory.py
|
|
|
|
.include <bsd.port.mk>
|