diff options
author | delphij <delphij@FreeBSD.org> | 2007-08-07 01:00:13 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-08-07 01:00:13 +0800 |
commit | d916de63232604a9e92f73c982f4f32026e2a92b (patch) | |
tree | 867aac60d0e7ca8d194f7546a7f82dabcda84b33 /editors/madedit | |
parent | 39415fb1401a85f738454abfee826cc9e0094947 (diff) | |
download | freebsd-ports-gnome-d916de63232604a9e92f73c982f4f32026e2a92b.tar.gz freebsd-ports-gnome-d916de63232604a9e92f73c982f4f32026e2a92b.tar.zst freebsd-ports-gnome-d916de63232604a9e92f73c982f4f32026e2a92b.zip |
New port: madedit, an open source hex/text editor which works like
UltraEdit and some other editors available on Microsoft Windows.
WWW: http://madedit.sourceforge.net
Diffstat (limited to 'editors/madedit')
-rw-r--r-- | editors/madedit/Makefile | 30 | ||||
-rw-r--r-- | editors/madedit/distinfo | 3 | ||||
-rw-r--r-- | editors/madedit/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | editors/madedit/pkg-descr | 7 | ||||
-rw-r--r-- | editors/madedit/pkg-plist | 47 |
5 files changed, 98 insertions, 0 deletions
diff --git a/editors/madedit/Makefile b/editors/madedit/Makefile new file mode 100644 index 000000000000..7778085c33e6 --- /dev/null +++ b/editors/madedit/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: madedit +# Date created: 2007-08-08 +# Whom: Xin LI <delphij@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= madedit +PORTVERSION= 0.2.7 +CATEGORIES= editors +MASTER_SITES= SF + +MAINTAINER= delphij@FreeBSD.org +COMMENT= An open-source and cross-platform text/hex editor + +USE_GETTEXT= yes +USE_WX= 2.6+ +WANT_UNICODE= yes + +LIB_DEPENDS+= boost_regex:${PORTSDIR}/devel/boost + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG} +CONFIGURE_ENV+= PKG_CONFIG="${PKG_CONFIG}" glib_gtk2_CFLAGS="${glib_gtk2_CFLAGS}" glib_gtk2_LIBS="${glib_gtk2_LIBS}" + +PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config +glib_gtk2_CFLAGS=`${PKG_CONFIG} --cflags gtk+-2.0` +glib_gtk2_LIBS= `${PKG_CONFIG} --libs gtk+-2.0` + +.include <bsd.port.mk> diff --git a/editors/madedit/distinfo b/editors/madedit/distinfo new file mode 100644 index 000000000000..72792a252eee --- /dev/null +++ b/editors/madedit/distinfo @@ -0,0 +1,3 @@ +MD5 (madedit-0.2.7.tar.gz) = 9942261526394fbf4ea616e062b25066 +SHA256 (madedit-0.2.7.tar.gz) = 22b4b20e7472cf78a6fee5358d917d0e21da8bc991ad67518f621c1cf95c9740 +SIZE (madedit-0.2.7.tar.gz) = 1282681 diff --git a/editors/madedit/files/patch-Makefile.in b/editors/madedit/files/patch-Makefile.in new file mode 100644 index 000000000000..d7d17fdec397 --- /dev/null +++ b/editors/madedit/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- ./Makefile.in.orig 2007-02-27 23:06:16.000000000 +0800 ++++ ./Makefile.in 2007-08-07 00:06:33.304370715 +0800 +@@ -283,7 +283,7 @@ + target_alias = @target_alias@ + SUBDIRS = syntax po + INCLUDES = -I$(top_srcdir)/wxFlatNotebook/include -I$(top_srcdir)/wxAUI/include -I$(top_srcdir)/charset-detector/include -I$(top_srcdir)/charset-detector/src -I$(top_srcdir)/charset-detector/src/tables +-madedit_CXXFLAGS = -DwxUSE_AUI=1 -DWXDLLIMPEXP_AUI= -DDATA_DIR=\"${datadir}\" ++madedit_CXXFLAGS = -DwxUSE_AUI=1 -DWXDLLIMPEXP_AUI= -DDATA_DIR=\"${datadir}\" $(glib_gtk2_CFLAGS) + madedit_SOURCES = src/MadAboutDialog.cpp \ + src/MadAboutDialog.h \ + src/MadCommand.h \ diff --git a/editors/madedit/pkg-descr b/editors/madedit/pkg-descr new file mode 100644 index 000000000000..a7ce45e20f03 --- /dev/null +++ b/editors/madedit/pkg-descr @@ -0,0 +1,7 @@ +MadEdit is an Open-Source & Cross-Platform Text/Hex Editor written +in C++ and wxWidgets. + +MadEdit can edit files in Text/Column/Hex modes, and supports many +useful functions, e.g. SyntaxHighlightings, WordWrap, Encodings. + +WWW: http://madedit.sourceforge.net diff --git a/editors/madedit/pkg-plist b/editors/madedit/pkg-plist new file mode 100644 index 000000000000..3f65f2a37119 --- /dev/null +++ b/editors/madedit/pkg-plist @@ -0,0 +1,47 @@ +bin/madedit +share/locale/zh_CN/LC_MESSAGES/madedit.mo +share/locale/zh_TW/LC_MESSAGES/madedit.mo +share/locale/it_IT/LC_MESSAGES/madedit.mo +share/pixmaps/madedit.xpm +%%DATADIR%%/syntax/extension.list +%%DATADIR%%/syntax/filename.list +%%DATADIR%%/syntax/firstline.list +%%DATADIR%%/syntax/Dark.sch +%%DATADIR%%/syntax/DarkBlue.sch +%%DATADIR%%/syntax/Gray.sch +%%DATADIR%%/syntax/syntax_actionscript.syn +%%DATADIR%%/syntax/syntax_angelscript.syn +%%DATADIR%%/syntax/syntax_awk.syn +%%DATADIR%%/syntax/syntax_batch.syn +%%DATADIR%%/syntax/syntax_conf.syn +%%DATADIR%%/syntax/syntax_cpp.syn +%%DATADIR%%/syntax/syntax_csharp.syn +%%DATADIR%%/syntax/syntax_css.syn +%%DATADIR%%/syntax/syntax_diff.syn +%%DATADIR%%/syntax/syntax_fortran.syn +%%DATADIR%%/syntax/syntax_html.syn +%%DATADIR%%/syntax/syntax_javascript.syn +%%DATADIR%%/syntax/syntax_java.syn +%%DATADIR%%/syntax/syntax_js_html.syn +%%DATADIR%%/syntax/syntax_jsp.syn +%%DATADIR%%/syntax/syntax_latex.syn +%%DATADIR%%/syntax/syntax_lua.syn +%%DATADIR%%/syntax/syntax_nfo.syn +%%DATADIR%%/syntax/syntax_pas.syn +%%DATADIR%%/syntax/syntax_perl.syn +%%DATADIR%%/syntax/syntax_php.syn +%%DATADIR%%/syntax/syntax_python.syn +%%DATADIR%%/syntax/syntax_reg.syn +%%DATADIR%%/syntax/syntax_ruby.syn +%%DATADIR%%/syntax/syntax_sh.syn +%%DATADIR%%/syntax/syntax_squirrel.syn +%%DATADIR%%/syntax/syntax_syn.syn +%%DATADIR%%/syntax/syntax_txt.syn +%%DATADIR%%/syntax/syntax_vbscript_asp.syn +%%DATADIR%%/syntax/syntax_visualbasic.syn +%%DATADIR%%/syntax/syntax_x86asm.syn +%%DATADIR%%/syntax/syntax_xml.syn +share/applications/madedit.desktop +@dirrmtry %%DATADIR%%/syntax +@dirrmtry share/locale/it_IT/LC_MESSAGES +@dirrmtry share/locale/it_IT |