From ce2a8e76499424f03516ad75bfecedfc496e958d Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Wed, 11 Nov 2009 22:12:13 +0000 Subject: - Fix runtime issues when using CUSTOM prefix PR: 139647 Submitted by: myself Approved by: Maintainer Timeout Approved by: miwi (mentor) --- editors/rox-edit/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'editors/rox-edit') 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/ -- cgit v1.2.3