mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
* Fix the build with the upcoming gtk+-2.4
* Fix the i18n installation * Fix some malloc bugs that cause crashes in -CURRENT [1] * Correct the plist * Use more GNOME components * Clean up pkg-descr to remove quotes and wrap at 80 lines * Add SIZE data PR: 64587 Submitted by: Jeremy Messenger <mezz7@cox.net> Approved by: maintainer Obtained from: Beaver CVS [1]
This commit is contained in:
parent
9305904409
commit
439ef397ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105545
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= beaver
|
||||
PORTVERSION= 0.3.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -15,17 +15,14 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MAINTAINER= jylefort@brutele.be
|
||||
COMMENT= A programmer's text editor for GTK+ 2.0
|
||||
|
||||
USE_GNOME= gtk20
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LIBTOOL_VER= 13
|
||||
USE_REINPLACE= yes
|
||||
|
||||
LIB_DEPENDS= gtksourceview-1.0.0:${PORTSDIR}/x11-toolkits/gtksourceview
|
||||
USE_GNOME= gnomehack gnomeprefix gtk20 gtksourceview lthack
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/applications|/gnome/applications|' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|/pixmaps|/gnome/pixmaps|' ${WRKSRC}/Makefile.in
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|-D.*_DISABLE_DEPRECATED||g'
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1,2 @@
|
||||
MD5 (beaver-0.3.1.tar.gz) = b7281a4e9a4a802111aa2854fa5e7541
|
||||
SIZE (beaver-0.3.1.tar.gz) = 473502
|
||||
|
74
editors/beaver/files/patch-src::conf.c
Normal file
74
editors/beaver/files/patch-src::conf.c
Normal file
@ -0,0 +1,74 @@
|
||||
--- src/conf.c.orig Tue Mar 15 02:40:04 2004
|
||||
+++ src/conf.c Tue Mar 15 02:40:07 2004
|
||||
@@ -183,6 +183,7 @@
|
||||
t_conf conf;
|
||||
gint ret_val;
|
||||
|
||||
+ bzero( &conf, sizeof(conf) );
|
||||
if (get_conf(key, &conf))
|
||||
{
|
||||
free_conf(&conf);
|
||||
@@ -198,6 +199,7 @@
|
||||
t_conf conf;
|
||||
gint ret_val;
|
||||
|
||||
+ bzero( &conf, sizeof(conf) );
|
||||
if (get_conf(key, &conf))
|
||||
{
|
||||
free_conf(&conf);
|
||||
@@ -213,6 +215,7 @@
|
||||
t_conf conf;
|
||||
gboolean ret_val;
|
||||
|
||||
+ bzero( &conf, sizeof(conf) );
|
||||
if (get_conf(key, &conf))
|
||||
{
|
||||
free_conf(&conf);
|
||||
@@ -231,6 +234,7 @@
|
||||
t_conf conf;
|
||||
gboolean ret_val;
|
||||
|
||||
+ bzero( &conf, sizeof(conf) );
|
||||
if (get_conf(key, &conf))
|
||||
{
|
||||
free_conf(&conf);
|
||||
@@ -249,6 +253,7 @@
|
||||
t_conf conf;
|
||||
gchar *ret_val;
|
||||
|
||||
+ bzero( &conf, sizeof(conf) );
|
||||
if (get_conf(key, &conf))
|
||||
{
|
||||
free_conf(&conf);
|
||||
@@ -266,6 +271,7 @@
|
||||
t_conf conf;
|
||||
gchar *ret_val;
|
||||
|
||||
+ bzero( &conf, sizeof(conf) );
|
||||
if (get_conf(key, &conf))
|
||||
{
|
||||
free_conf(&conf);
|
||||
@@ -386,6 +392,7 @@
|
||||
{
|
||||
t_conf conf;
|
||||
|
||||
+ bzero( &conf, sizeof(conf) );
|
||||
conf.line = g_strdup_printf("%d", value);
|
||||
if (set_conf(key, &conf))
|
||||
{
|
||||
@@ -400,6 +407,7 @@
|
||||
{
|
||||
t_conf conf;
|
||||
|
||||
+ bzero( &conf, sizeof(conf) );
|
||||
if (value)
|
||||
conf.line = g_strdup("TRUE");
|
||||
else
|
||||
@@ -417,6 +425,7 @@
|
||||
{
|
||||
t_conf conf;
|
||||
|
||||
+ bzero( &conf, sizeof(conf) );
|
||||
conf.line = g_strdup(value);
|
||||
if (set_conf(key, &conf))
|
||||
{
|
@ -1,13 +1,11 @@
|
||||
From the homepage:
|
||||
|
||||
"Beaver is an Early AdVanced EditoR, for Linux and other Unix (and
|
||||
even Windows); in other words, it's a text editor that is intended to
|
||||
be lightweight, but full of useful features for programming, from
|
||||
Beaver is an Early AdVanced EditoR, for Linux and other Unix (and even
|
||||
Windows); in other words, it's a text editor that is intended to be
|
||||
lightweight, but full of useful features for programming, from
|
||||
websites editing to C coding. It is based upon the GTK+ toolkit,
|
||||
supports many languages through config files and offers functions such
|
||||
as automatic indentation, completion and correction, or syntax
|
||||
highlighting. In fact, it is 100% compatible with the Ultraedit's
|
||||
wordfile.txt files, and has its own mini macro language."
|
||||
wordfile.txt files, and has its own mini macro language.
|
||||
|
||||
WWW: http://www.nongnu.org/beaver/
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
bin/beaver
|
||||
share/gnome/pixmaps/beaver.png
|
||||
share/gnome/applications/beaver.desktop
|
||||
@dirrm share/beaver
|
||||
share/gnome/pixmaps/beaver.png
|
||||
share/locale/de/LC_MESSAGES/beaver.mo
|
||||
|
Loading…
Reference in New Issue
Block a user