mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
f4a4ca3ce6
Currently supported are: o Base Directory Specification o Menu Specification o Desktop Entry Specification o Icon Theme Specification WWW: http://freedesktop.org/Software/pyxdg PR: ports/68332 Submitted by: michael johnson <ahze@ahze.net>
30 lines
755 B
Makefile
30 lines
755 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.5
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://freedesktop.org/Software/pyxdg/releases/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ahze@ahze.net
|
|
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|${PREFIX}/etc|g ; \
|
|
s|/usr/share|/usr/share:${X11BASE}/share|g' \
|
|
${WRKSRC}/xdg/BaseDirectory.py
|
|
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/xdg/IconTheme.py
|
|
|
|
.include <bsd.port.mk>
|