aboutsummaryrefslogtreecommitdiff
path: root/editors/texworks/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/texworks/Makefile')
-rw-r--r--editors/texworks/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/texworks/Makefile b/editors/texworks/Makefile
index 8c4f6eab8f27..ad238bf3a872 100644
--- a/editors/texworks/Makefile
+++ b/editors/texworks/Makefile
@@ -60,7 +60,8 @@ PLIST_FILES+= lib/texworks/libTWPythonPlugin.so
.endif
post-patch:
- @${REINPLACE_CMD} -e '/zlib/d; s|COPYING ||' ${WRKSRC}/TeXworks.pro
+ @${REINPLACE_CMD} -e '/zlib/d; s|COPYING ||; /manual.path/s|TW_HELPPATH|DOCS_DIR|' \
+ ${WRKSRC}/TeXworks.pro
@${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \
${WRKSRC}/src/TWUtils.cpp
@${REINPLACE_CMD} -e 's|lua5.1|lua-5.1|' \