1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/editors/py-room/Makefile
2014-01-03 01:53:21 +00:00

31 lines
785 B
Makefile

# Created by: Alexander Best
# $FreeBSD$
PORTNAME= room
PORTVERSION= 0.4.1
PORTREVISION= 5
CATEGORIES= editors python
MASTER_SITES= https://launchpad.net/pyroom/${PORTVERSION:R}/${PORTVERSION}/+download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= arundel@FreeBSD.org
COMMENT= PyRoom is a clone of WriteRoom and features "distraction-free writing"
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
USES= gettext
USE_PYTHON= yes
USE_GNOME= pygtk2
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= PyRoom
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/setup.py ${WRKSRC}/PyRoom/preferences.py \
${WRKSRC}/PyRoom/gui.py ${WRKSRC}/pyroom.desktop
.include <bsd.port.mk>