From 62e0bfc28f06981965ad3721d847cd337d3144be Mon Sep 17 00:00:00 2001 From: pvalchev Date: Thu, 9 Mar 2006 01:43:48 +0000 Subject: [PATCH] import of leafpad-0.8.7 simple GTK+ text editor from Antoine Jacoutot --- editors/leafpad/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ editors/leafpad/distinfo | 4 ++++ editors/leafpad/pkg/DESCR | 14 ++++++++++++++ editors/leafpad/pkg/PLIST | 35 +++++++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100755 editors/leafpad/Makefile create mode 100644 editors/leafpad/distinfo create mode 100755 editors/leafpad/pkg/DESCR create mode 100644 editors/leafpad/pkg/PLIST diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile new file mode 100755 index 00000000000..eac676a9e09 --- /dev/null +++ b/editors/leafpad/Makefile @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/03/09 01:43:48 pvalchev Exp $ + +COMMENT= "simple GTK+ text editor" + +DISTNAME= leafpad-0.8.7 +CATEGORIES= editors x11 + +HOMEPAGE= http://tarot.freeshell.org/leafpad/ + +MAINTAINER= Antoine Jacoutot + +# GPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://savannah.nongnu.org/download/leafpad/ +WANTLIB= Xrender c freetype Xft Xext fontconfig m X11 \ + pango-1.0.0.0 pangoxft-1.0.0.0 pangoft2-1.0.0.0 \ + pangox-1.0.0.0 atk-1.0.0.0 + +MODULES= devel/gettext +BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig +LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \ + glib-2.0.0.0,gmodule-2.0.0.0,gobject-2.0.0.0::devel/glib2 + +USE_X11= Yes +CONFIGURE_STYLE=gnu + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/leafpad + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/leafpad/ + +.include diff --git a/editors/leafpad/distinfo b/editors/leafpad/distinfo new file mode 100644 index 00000000000..7096cef1445 --- /dev/null +++ b/editors/leafpad/distinfo @@ -0,0 +1,4 @@ +MD5 (leafpad-0.8.7.tar.gz) = 6dd5a0882a289a5351b08618883427a1 +RMD160 (leafpad-0.8.7.tar.gz) = 6bc07f837e528e65546b30d0036cbe1296200e9b +SHA1 (leafpad-0.8.7.tar.gz) = e405e5cc0e73da71281d5148fe8dd4301dfbd276 +SIZE (leafpad-0.8.7.tar.gz) = 246464 diff --git a/editors/leafpad/pkg/DESCR b/editors/leafpad/pkg/DESCR new file mode 100755 index 00000000000..4c9d3954ed1 --- /dev/null +++ b/editors/leafpad/pkg/DESCR @@ -0,0 +1,14 @@ +Leafpad is a simple GTK+ text editor that emphasizes simplicity. As +development focuses on keeping weight down to a minimum, only the most +essential features are implemented in the editor. Leafpad is simple to +use, is easily compiled, requires few libraries, and starts up quickly. + +Currently Leafpad has the following features: + + * Codeset option (Some OpenI18N registered) + * Auto codeset detection (UTF-8 and some codesets) + * Unlimitted Undo/Redo + * Auto/Multi-line Indent + * Display line numbers + * Drag and Drop + * Printing diff --git a/editors/leafpad/pkg/PLIST b/editors/leafpad/pkg/PLIST new file mode 100644 index 00000000000..e57f5418ee4 --- /dev/null +++ b/editors/leafpad/pkg/PLIST @@ -0,0 +1,35 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/03/09 01:43:48 pvalchev Exp $ +bin/leafpad +share/applications/ +share/applications/leafpad.desktop +share/doc/leafpad/ +share/doc/leafpad/README +share/locale/bg/LC_MESSAGES/leafpad.mo +share/locale/ca/LC_MESSAGES/leafpad.mo +share/locale/cs/LC_MESSAGES/leafpad.mo +share/locale/de/LC_MESSAGES/leafpad.mo +share/locale/el/LC_MESSAGES/leafpad.mo +share/locale/es/LC_MESSAGES/leafpad.mo +share/locale/fr/LC_MESSAGES/leafpad.mo +share/locale/he/LC_MESSAGES/leafpad.mo +share/locale/hu/LC_MESSAGES/leafpad.mo +share/locale/it/LC_MESSAGES/leafpad.mo +share/locale/ja/LC_MESSAGES/leafpad.mo +share/locale/lt/ +share/locale/lt/LC_MESSAGES/ +share/locale/lt/LC_MESSAGES/leafpad.mo +share/locale/pl/LC_MESSAGES/leafpad.mo +share/locale/pt/LC_MESSAGES/leafpad.mo +share/locale/ru/LC_MESSAGES/leafpad.mo +share/locale/sk/LC_MESSAGES/leafpad.mo +share/locale/sv/LC_MESSAGES/leafpad.mo +share/locale/ta/ +share/locale/ta/LC_MESSAGES/ +share/locale/ta/LC_MESSAGES/leafpad.mo +share/locale/tr/LC_MESSAGES/leafpad.mo +share/locale/vi/LC_MESSAGES/leafpad.mo +share/locale/zh_CN/LC_MESSAGES/leafpad.mo +share/locale/zh_TW/LC_MESSAGES/leafpad.mo +share/pixmaps/ +share/pixmaps/leafpad.png +share/pixmaps/leafpad.xpm