Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
editors/fxite: undeprecate the port and assume maintainership
- Remove (broken) option to build against Fox 1.7: its API is too unstable and diverged significantly from what this code expects over past ten years - Disable NLS support which is rudimentary and no translation files were actually provided - GC needless CXXFLAGS and LDFLAGS adjustments, amend COMMENT
- Loading branch information
Alexey Dokuchaev
authored and
Alexey Dokuchaev
committed
Dec 20, 2023
1 parent
14902c2
commit 2e31677
Showing
1 changed file
with
12 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <bsd.port.mk> |