mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
38 lines
929 B
Makefile
38 lines
929 B
Makefile
# $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:${PORTSDIR}/x11-fm/rox-filer \
|
|
${LOCALBASE}/lib/ROX-Lib2/python/rox/__init__.py:${PORTSDIR}/devel/py-roxlib
|
|
|
|
USE_PYTHON= yes
|
|
USE_BZIP2= yes
|
|
|
|
post-extract:
|
|
@${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM}
|
|
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
|
|
|
|
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} ${PREFIX}/apps
|
|
@${CP} -r ${WRKSRC}/Edit ${PREFIX}/apps/
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/apps/Edit
|
|
|
|
.include <bsd.port.mk>
|