diff options
-rw-r--r-- | archivers/rox-archive/Makefile | 5 | ||||
-rw-r--r-- | deskutils/rox-memo/Makefile | 5 | ||||
-rw-r--r-- | editors/rox-edit/Makefile | 5 | ||||
-rw-r--r-- | x11-fm/rox-mime-editor/Makefile | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/archivers/rox-archive/Makefile b/archivers/rox-archive/Makefile index 3a23350227b9..b6a806140134 100644 --- a/archivers/rox-archive/Makefile +++ b/archivers/rox-archive/Makefile @@ -27,6 +27,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}/Archive/findrox.py + @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} + do-install: @${MKDIR} ${PREFIX}/apps @${CP} -r ${WRKSRC}/Archive ${PREFIX}/apps/ diff --git a/deskutils/rox-memo/Makefile b/deskutils/rox-memo/Makefile index f03cf190d5c0..d1d847e2a0aa 100644 --- a/deskutils/rox-memo/Makefile +++ b/deskutils/rox-memo/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}/Memo/findrox.py + @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} + do-install: @${MKDIR} ${PREFIX}/apps @${CP} -r ${WRKSRC}/Memo ${PREFIX}/apps/ 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/ 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/ |