aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/rox-mime-editor
diff options
context:
space:
mode:
authorKris Moore <kmoore@FreeBSD.org>2009-11-11 22:12:13 +0000
committerKris Moore <kmoore@FreeBSD.org>2009-11-11 22:12:13 +0000
commitce2a8e76499424f03516ad75bfecedfc496e958d (patch)
tree6b22e1971c577a6ecbf48f01527f57ed2ca7f5ca /x11-fm/rox-mime-editor
parent581eba9bb29ec1254750351da359f075c9146702 (diff)
downloadports-ce2a8e76499424f03516ad75bfecedfc496e958d.tar.gz
ports-ce2a8e76499424f03516ad75bfecedfc496e958d.zip
Notes
Diffstat (limited to 'x11-fm/rox-mime-editor')
-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/