2009-11-17 10:12:42 +01:00
|
|
|
# New ports collection makefile for: py-room
|
|
|
|
# Date created: 2009-11-11
|
|
|
|
# Whom: Alexander Best
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= room
|
|
|
|
PORTVERSION= 0.4.1
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 4
|
2009-11-17 10:12:42 +01:00
|
|
|
CATEGORIES= editors python
|
|
|
|
MASTER_SITES= https://launchpad.net/pyroom/${PORTVERSION:R}/${PORTVERSION}/+download/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2010-10-30 16:33:55 +02:00
|
|
|
MAINTAINER= arundel@FreeBSD.org
|
2009-11-17 10:12:42 +01:00
|
|
|
COMMENT= PyRoom is a clone of WriteRoom and features "distraction-free writing"
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
|
|
|
|
|
|
|
|
FETCH_ARGS=
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_PYTHON= yes
|
2009-12-26 19:00:07 +01:00
|
|
|
USE_GNOME= pygtk2
|
2009-11-17 10:12:42 +01:00
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PYDISTUTILS_PKGNAME= PyRoom
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
2010-02-17 18:06:53 +01:00
|
|
|
's|%%PREFIX%%|${PREFIX}|g' \
|
2009-11-17 10:12:42 +01:00
|
|
|
${WRKSRC}/setup.py ${WRKSRC}/PyRoom/preferences.py \
|
2010-02-17 18:06:53 +01:00
|
|
|
${WRKSRC}/PyRoom/gui.py ${WRKSRC}/pyroom.desktop
|
2009-11-17 10:12:42 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|