summaryrefslogtreecommitdiff
path: root/textproc/lexilla/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/lexilla/Makefile')
-rw-r--r--textproc/lexilla/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/textproc/lexilla/Makefile b/textproc/lexilla/Makefile
index 700c5296857c..5106d5c771bc 100644
--- a/textproc/lexilla/Makefile
+++ b/textproc/lexilla/Makefile
@@ -1,5 +1,5 @@
PORTNAME= lexilla
-DISTVERSION= 5.3.2
+DISTVERSION= 5.4.4
CATEGORIES= textproc
MASTER_SITES= https://www.scintilla.org/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
@@ -13,10 +13,9 @@ LICENSE_NAME= License for Lexilla, Scintilla and SciTE
LICENSE_FILE= ${WRKSRC}/../License.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-#LIB_DEPENDS= libscintilla.so:x11-toolkits/scintilla
BUILD_DEPENDS= scintilla>0:x11-toolkits/scintilla
-USES= compiler:c++17-lang cpe gmake gnome iconv pkgconfig tar:tgz
+USES= compiler:c++17-lang cpe gmake pkgconfig tar:tgz
USE_LDCONFIG= yes
@@ -41,6 +40,10 @@ PLIST_FILES= include/lexilla/Lexilla.h \
MAKE_ARGS+= CLANG=1
.endif
+pre-configure:
+ ${REINPLACE_CMD} -e 's|../../scintilla/include|$$(LOCALBASE)/include/scintilla|g' \
+ ${WRKSRC}/deps.mak
+
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/lexilla
${INSTALL_DATA} ${WRKSRC}/../include/*.h \