blob: 91279610213090f7ad5ee4648f3a470f2aacd963 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $FreeBSD$
PORTNAME= rox-edit
PORTVERSION= 2.2
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= SF/rox/Edit/${PORTVERSION}
DISTNAME= edit-${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Text editor for the ROX desktop
RUN_DEPENDS= ${LOCALBASE}/bin/rox:x11-fm/rox-filer \
${LOCALBASE}/lib/ROX-Lib2/python/rox/__init__.py:devel/py-roxlib
USES= python tar:bzip2
post-extract:
@${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM}
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -r
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
pre-install:
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
${WRKSRC}/Edit/findrox.py
@${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/apps
${CP} -r ${WRKSRC}/Edit ${STAGEDIR}${PREFIX}/apps/
.include <bsd.port.mk>
|