aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/rox-mime-editor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/rox-mime-editor/Makefile')
-rw-r--r--x11-fm/rox-mime-editor/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-fm/rox-mime-editor/Makefile b/x11-fm/rox-mime-editor/Makefile
index e5ba90a39495..82c6dc48fbfa 100644
--- a/x11-fm/rox-mime-editor/Makefile
+++ b/x11-fm/rox-mime-editor/Makefile
@@ -25,6 +25,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}/MIME-Editor/findrox.py
+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM}
+
do-install:
@${MKDIR} ${PREFIX}/apps
@${CP} -r ${WRKSRC}/MIME-Editor ${PREFIX}/apps/