aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/fxscintilla/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/fxscintilla/Makefile')
-rw-r--r--x11-toolkits/fxscintilla/Makefile33
1 files changed, 6 insertions, 27 deletions
diff --git a/x11-toolkits/fxscintilla/Makefile b/x11-toolkits/fxscintilla/Makefile
index 49ce8065342c..0cba47fccaa3 100644
--- a/x11-toolkits/fxscintilla/Makefile
+++ b/x11-toolkits/fxscintilla/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= fxscintilla
-PORTVERSION= 1.71
-PORTREVISION= 15
+PORTVERSION= 2.11.0
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,30 +14,10 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Fox toolkit reimplementation of Scintilla editing widget
-USE_AUTOTOOLS= libtool:22
-CONFIGURE_ARGS+= --enable-shared --disable-static \
- --includedir=${LOCALBASE}/include
-USE_LDCONFIG= yes
-
-.if !defined(MASTERDIR)
-OPTIONS+= FOX14 "FOX1.4 support (FOX1.6 by default)" off
-.endif
-
-.include <bsd.port.pre.mk>
+LIB_DEPENDS+= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16
-.if defined(WITH_FOX14)
-FOX_LIB_VER= 1.4
-LIB_DEPENDS+= FOX-${FOX_LIB_VER}:${PORTSDIR}/x11-toolkits/fox14
-CONFIGURE_ARGS+= --with-fox-1-4
-.else
-FOX_LIB_VER= 1.6
-LIB_DEPENDS+= FOX-${FOX_LIB_VER}:${PORTSDIR}/x11-toolkits/fox16
-CONFIGURE_ARGS+= --with-fox-1-6
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's|-lFOX-${FOX_LIB_VER}|"-lFOX-${FOX_LIB_VER} ${PTHREAD_LIBS}"|' \
- ${WRKSRC}/configure ${WRKSRC}/tests/Makefile.in
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-shared
+USE_LDCONFIG= yes
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>