aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/fxscintilla
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-19 06:38:38 +0800
committerpav <pav@FreeBSD.org>2004-12-19 06:38:38 +0800
commit41c652b45fa1c5e5ba1b9014dce593b8278c53d0 (patch)
treec649973d7128c746bb1df820f99f0dc108d00d8d /x11-toolkits/fxscintilla
parent572a687c3c88355955fc66a592e07f50ba99378d (diff)
downloadfreebsd-ports-gnome-41c652b45fa1c5e5ba1b9014dce593b8278c53d0.tar.gz
freebsd-ports-gnome-41c652b45fa1c5e5ba1b9014dce593b8278c53d0.tar.zst
freebsd-ports-gnome-41c652b45fa1c5e5ba1b9014dce593b8278c53d0.zip
- Update fxscintilla to 1.62
This version supports both FOX 1.0 and FOX 1.2, and the port use FOX 1.2 by default. FOX 1.0 version is available under OPTIONS - Add slave port fxscintilla-fox10 - Switch ruby-fox port to fxscintilla-fox10 PR: ports/75160 Submitted by: Alexander Novitsky <alecn2002@yandex.ru> (fxscintilla maintainer)
Diffstat (limited to 'x11-toolkits/fxscintilla')
-rw-r--r--x11-toolkits/fxscintilla/Makefile26
-rw-r--r--x11-toolkits/fxscintilla/distinfo4
-rw-r--r--x11-toolkits/fxscintilla/pkg-plist3
3 files changed, 24 insertions, 9 deletions
diff --git a/x11-toolkits/fxscintilla/Makefile b/x11-toolkits/fxscintilla/Makefile
index 41b2be1d8f99..87c8b41dc1db 100644
--- a/x11-toolkits/fxscintilla/Makefile
+++ b/x11-toolkits/fxscintilla/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fxscintilla
-PORTVERSION= 1.57
+PORTVERSION= 1.62
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,10 +14,26 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= alecn2002@yandex.ru
COMMENT= A Fox toolkit reimplementation of Scintilla editing widget
-LIB_DEPENDS= FOX-1.0.0:${PORTSDIR}/x11-toolkits/fox
+GNU_CONFIGURE= yes
-USE_INC_LIBTOOL_VER= 15
-CONFIGURE_ARGS= --enable-shared
+USE_LIBTOOL_VER= 15
+USE_REINPLACE= yes
+CONFIGURE_ARGS+= --enable-shared --disable-static
INSTALLS_SHLIB= yes
-.include <bsd.port.mk>
+OPTIONS= FOX10 "FOX1.0 support (FOX1.2 by default)" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_FOX10)
+LIB_DEPENDS+= FOX-1.0.0:${PORTSDIR}/x11-toolkits/fox
+CONFIGURE_ARGS= --with-fox-1-0
+.else
+LIB_DEPENDS+= FOX-1.2:${PORTSDIR}/x11-toolkits/fox-devel
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lFOX-1.2|"-lFOX-1.2 ${PTHREAD_LIBS}"|' \
+ ${WRKSRC}/configure ${WRKSRC}/tests/Makefile.in
+
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/fxscintilla/distinfo b/x11-toolkits/fxscintilla/distinfo
index 394961253c59..ad548595d67f 100644
--- a/x11-toolkits/fxscintilla/distinfo
+++ b/x11-toolkits/fxscintilla/distinfo
@@ -1,2 +1,2 @@
-MD5 (fxscintilla-1.57.tar.gz) = 68aa25d2b8d626b6455736e611a3993f
-SIZE (fxscintilla-1.57.tar.gz) = 798115
+MD5 (fxscintilla-1.62.tar.gz) = c4cb1b9d954b92e1e1fdcb75597662c6
+SIZE (fxscintilla-1.62.tar.gz) = 833249
diff --git a/x11-toolkits/fxscintilla/pkg-plist b/x11-toolkits/fxscintilla/pkg-plist
index bd373718facf..43057d2b1ac5 100644
--- a/x11-toolkits/fxscintilla/pkg-plist
+++ b/x11-toolkits/fxscintilla/pkg-plist
@@ -2,7 +2,6 @@ include/fxscintilla/FXScintilla.h
include/fxscintilla/SciLexer.h
include/fxscintilla/Scintilla.h
lib/libfxscintilla.a
-lib/libfxscintilla.la
lib/libfxscintilla.so
-lib/libfxscintilla.so.11
+lib/libfxscintilla.so.16
@dirrm include/fxscintilla