aboutsummaryrefslogtreecommitdiff
path: root/editors/rox-edit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/rox-edit/Makefile')
-rw-r--r--editors/rox-edit/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/rox-edit/Makefile b/editors/rox-edit/Makefile
index 228274c429ae..c9f7b3ed26c7 100644
--- a/editors/rox-edit/Makefile
+++ b/editors/rox-edit/Makefile
@@ -28,6 +28,11 @@ 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/