Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/edi: EFL-based/focused IDE (new port had been added)
Requested by: someone on t.me/freebsd_ru
- Loading branch information
Alexey Dokuchaev
authored and
Alexey Dokuchaev
committed
Feb 10, 2023
1 parent
523bb16
commit d36a4f4
Showing
6 changed files
with
130 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
PORTNAME= edi | ||
PORTVERSION= 0.8.0 | ||
CATEGORIES= devel enlightenment | ||
MASTER_SITES= https://github.com/Enlightenment/edi/releases/download/v${PORTVERSION}/ # http://download.enlightenment.org/rel/apps/${PORTNAME}/ | ||
DIST_SUBDIR= enlightenment | ||
|
||
MAINTAINER= enlightenment@FreeBSD.org | ||
COMMENT= EFL-based/focused IDE | ||
WWW= https://phab.enlightenment.org/w/projects/edi/ | ||
|
||
LIB_DEPENDS= libelementary.so:devel/efl | ||
|
||
USES= desktop-file-utils gettext meson pkgconfig tar:xz | ||
MESON_ARGS= -Dlibclang=false | ||
USE_LDCONFIG= yes | ||
|
||
PORTDOCS= AUTHORS NEWS TODO | ||
|
||
OPTIONS_DEFINE= DOCS | ||
|
||
post-patch: | ||
@${REINPLACE_CMD} -e '/input : join_paths/d' \ | ||
${WRKSRC}/data/extra/templates/meson.build | ||
# XXX: should probably use get_option('mandir') below | ||
@${REINPLACE_CMD} -e '/install_dir/s,doc/edi,man/man1,' \ | ||
${WRKSRC}/doc/meson.build | ||
@${REINPLACE_CMD} -e '/tests/d' ${WRKSRC}/src/meson.build | ||
@${ECHO_CMD} "option('docsdir', type : 'string'," \ | ||
"value : '${DOCSDIR_REL}')" >> ${WRKSRC}/meson_options.txt | ||
@${ECHO_CMD} "option('localbase', type : 'string'," \ | ||
"value : '${LOCALBASE}')" >> ${WRKSRC}/meson_options.txt | ||
|
||
.include <bsd.port.mk> |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1638861412 | ||
SHA256 (enlightenment/edi-0.8.0.tar.xz) = 6a34c6f5afa45589c1836f796880d64b37686a1975cd369ebf467191d17d6806 | ||
SIZE (enlightenment/edi-0.8.0.tar.xz) = 797996 |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- meson.build.orig 2020-04-29 13:40:58 UTC | ||
+++ meson.build | ||
@@ -19,7 +19,7 @@ config_h.set_quoted('PACKAGE_BUILD_DIR', meson.build_r | ||
config_h.set_quoted('PACKAGE_BIN_DIR', join_paths(get_option('prefix'), get_option('bindir'))) | ||
config_h.set_quoted('PACKAGE_LIB_DIR', join_paths(get_option('prefix'), get_option('libdir'))) | ||
config_h.set_quoted('PACKAGE_DATA_DIR', join_paths(get_option('prefix'), get_option('datadir'), 'edi')) | ||
-config_h.set_quoted('PACKAGE_DOC_DIR', join_paths(get_option('prefix'), get_option('infodir'), 'edi')) | ||
+config_h.set_quoted('PACKAGE_DOC_DIR', join_paths(get_option('prefix'), get_option('docsdir'))) | ||
|
||
config_h.set_quoted('EFL_BETA_API_SUPPORT' , '1') | ||
|
||
@@ -37,7 +37,7 @@ cc = meson.get_compiler('c') | ||
|
||
config_h.set_quoted('EFL_CFLAGS', run_command(find_program('pkg-config'), '--libs', '--cflags', 'elementary').stdout().strip()) | ||
|
||
-intl = cc.find_library('intl', required : false) | ||
+intl = cc.find_library('intl', required : false, dirs : join_paths(get_option('localbase'), 'lib')) | ||
|
||
bear = find_program('bear', required : false) | ||
if get_option('bear') == true and bear.found() | ||
@@ -94,8 +94,8 @@ subdir('src') | ||
subdir('doc') | ||
subdir('data') | ||
|
||
-install_data(['AUTHORS'], | ||
- install_dir : join_paths(get_option('prefix'), get_option('infodir'), 'edi') | ||
+install_data(['AUTHORS', 'NEWS', 'TODO'], | ||
+ install_dir : join_paths(get_option('prefix'), get_option('docsdir')) | ||
) | ||
|
||
configure_file( |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This is a project to create a complete IDE using the EFL (Enlightenment | ||
Foundation Libraries). It aims to lower the barrier to getting involved | ||
in Enlightenment development and in creating applications based on the | ||
EFL suite, but can also be used as an advanced, standalone text editor. |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
bin/edi | ||
bin/edi_build | ||
bin/edi_scm | ||
lib/libedi.so | ||
lib/libedi.so.0 | ||
lib/libedi.so.0.8.0 | ||
share/applications/edi.desktop | ||
%%DATADIR%%/examples/examples.edj | ||
%%DATADIR%%/icons/application-exit.png | ||
%%DATADIR%%/icons/applications-electronics.png | ||
%%DATADIR%%/icons/dialog-error.png | ||
%%DATADIR%%/icons/dialog-information.png | ||
%%DATADIR%%/icons/dialog-question.png | ||
%%DATADIR%%/icons/document-new.png | ||
%%DATADIR%%/icons/document-save-as.png | ||
%%DATADIR%%/icons/document-save.png | ||
%%DATADIR%%/icons/edit-clear.png | ||
%%DATADIR%%/icons/edit-copy.png | ||
%%DATADIR%%/icons/edit-cut.png | ||
%%DATADIR%%/icons/edit-delete.png | ||
%%DATADIR%%/icons/edit-find-replace.png | ||
%%DATADIR%%/icons/edit-find.png | ||
%%DATADIR%%/icons/edit-paste.png | ||
%%DATADIR%%/icons/edit-redo.png | ||
%%DATADIR%%/icons/edit-undo.png | ||
%%DATADIR%%/icons/empty.png | ||
%%DATADIR%%/icons/folder-new.png | ||
%%DATADIR%%/icons/folder.png | ||
%%DATADIR%%/icons/go-down.png | ||
%%DATADIR%%/icons/go-home.png | ||
%%DATADIR%%/icons/go-jump.png | ||
%%DATADIR%%/icons/go-up.png | ||
%%DATADIR%%/icons/help-about.png | ||
%%DATADIR%%/icons/image-x-generic.png | ||
%%DATADIR%%/icons/mail-send.png | ||
%%DATADIR%%/icons/media-playback-start.png | ||
%%DATADIR%%/icons/media-playback-stop.png | ||
%%DATADIR%%/icons/media-record.png | ||
%%DATADIR%%/icons/network-server.png | ||
%%DATADIR%%/icons/object-flip-horizontal.png | ||
%%DATADIR%%/icons/object-flip-vertical.png | ||
%%DATADIR%%/icons/preferences-desktop.png | ||
%%DATADIR%%/icons/system-run.png | ||
%%DATADIR%%/icons/text-x-csrc.png | ||
%%DATADIR%%/icons/text-x-generic.png | ||
%%DATADIR%%/icons/utilities-terminal.png | ||
%%DATADIR%%/icons/window-close.png | ||
%%DATADIR%%/icons/window-new.png | ||
%%DATADIR%%/images/about.png | ||
%%DATADIR%%/images/welcome.png | ||
%%DATADIR%%/templates/eflproject.tar.gz | ||
%%DATADIR%%/templates/eflproject_python.tar.gz | ||
%%DATADIR%%/templates/templates.edj | ||
%%DATADIR%%/themes/solarized.edj | ||
%%DATADIR%%/themes/solarized_dark.edj | ||
%%DATADIR%%/themes/white.edj | ||
share/icons/hicolor/256x256/apps/edi.png | ||
share/man/man1/edi.1.gz |