diff --git a/editors/fxite/Makefile b/editors/fxite/Makefile index cc8c2f2980ef..d581117f6c7a 100644 --- a/editors/fxite/Makefile +++ b/editors/fxite/Makefile @@ -1,50 +1,35 @@ PORTNAME= fxite -DISTVERSIONPREFIX= FXITE- +DISTVERSIONPREFIX= ${PORTNAME:tu}- DISTVERSION= 0_92 PORTREVISION= 4 CATEGORIES= editors -MAINTAINER= ports@FreeBSD.org -COMMENT= Advanced cross-platform text editor +MAINTAINER= danfe@FreeBSD.org +COMMENT= Advanced customizable graphical text editor WWW= https://github.com/yetanothergeek/fxite LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -DEPRECATED= Upstream last release was in 2013 -EXPIRATION_DATE= 2024-01-16 +LIB_DEPENDS= libFOX-1.6.so:x11-toolkits/fox16 -USES= autoreconf desktop-file-utils gettext gmake lua:52 pkgconfig +USES= autoreconf desktop-file-utils gmake lua:52 pkgconfig USE_GITHUB= yes GH_ACCOUNT= yetanothergeek GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-system-lua \ +CONFIGURE_ARGS= --disable-nls --with-system-lua \ --with-lua-pkg=lua-${LUA_VER} - -CXXFLAGS+= -fPIC -LDFLAGS+= -L${LOCALBASE}/lib -lintl +CONFIGURE_ENV= FOX_CFLAGS="$$(fox-config --cflags)" \ + FOX_LIBS="$$(fox-config --libs)" \ + RESWRAP="${LOCALBASE}/bin/reswrap" PLIST_FILES= bin/fxite \ share/applications/fxite.desktop \ share/pixmaps/fxite.xpm -OPTIONS_DEFAULT= FOX16 -OPTIONS_SINGLE= TOOLKIT -OPTIONS_SINGLE_TOOLKIT= FOX16 FOX17 - -FOX16_DESC= Fox 1.6 GUI toolkit support -FOX17_DESC= Fox 1.7 GUI toolkit support -TOOLKIT_DESC= GUI toolkit - -FOX16_LIB_DEPENDS= libFOX-1.6.so:x11-toolkits/fox16 -FOX16_CONFIGURE_ENV= FOX_CFLAGS="$$(fox-config --cflags)" \ - FOX_LIBS="$$(fox-config --libs)" \ - RESWRAP="${LOCALBASE}/bin/reswrap" -FOX17_BROKEN= Fails to build: recorder.cpp:104:9: error: no matching member function for call to 'prepend' -FOX17_LIB_DEPENDS= libFOX-1.7.so:x11-toolkits/fox17 -FOX17_CONFIGURE_ENV= FOX_CFLAGS="$$(pkgconf fox17 --cflags)" \ - FOX_LIBS="$$(pkgconf fox17 --libs) -lX11" \ - RESWRAP="${LOCALBASE}/bin/fox-1.7/reswrap" +post-patch: + @${ECHO_CMD} 'AM_CPPFLAGS += $$(X11_CFLAGS)' \ + >> ${WRKSRC}/jef/Makefile.am .include