freebsd-ports/editors/py-room/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

28 lines
751 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:devel/py-xdg
USES= gettext python
USE_PYTHON= distutils
USE_GNOME= pygtk2
PYDISTUTILS_PKGNAME= PyRoom
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>