1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add geany.

Geany is a small and lightweight integrated development environment. It was
developed to provide a small and fast IDE, which has only a few dependencies
on other packages. Another goal was to be as independent as possible from a
special Desktop Environment like KDE or GNOME.

WWW: http://geany.uvena.de/

PR:		ports/91817
Submitted by:	Remington <mrl0lz@gmail.com>
This commit is contained in:
Jean-Yves Lefort 2006-04-04 12:28:14 +00:00
parent 6f8217d7ca
commit 20d3ebfb04
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158767
8 changed files with 128 additions and 0 deletions

View File

@ -313,6 +313,7 @@
SUBDIR += gdb53-act
SUBDIR += gdb6
SUBDIR += gdbmods
SUBDIR += geany
SUBDIR += gengameng
SUBDIR += gengetopt
SUBDIR += genproto

32
devel/geany/Makefile Normal file
View File

@ -0,0 +1,32 @@
# New ports collection Makefile for: geany
# Date Created: 15 Jan 06
# Whom: Remington Lang <MrL0Lz@gmail.com>
#
# $FreeBSD$
#
PORTNAME= geany
PORTVERSION= 0.4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= MrL0Lz@gmail.com
COMMENT= A fast and lightweight GTK+ IDE
USE_X_PREFIX= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GNOME= vte
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC} ${CFLAGS}|' ${WRKSRC}/scintilla/Makefile.in
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile.in
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/geany.desktop ${PREFIX}/share/applications
.include <bsd.port.mk>

3
devel/geany/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (geany-0.4.tar.bz2) = a1ed7e40762dd55763b28fe97fed9feb
SHA256 (geany-0.4.tar.bz2) = 9ac508b80d9e3a698550146b882664d6068ccc20345df66048549275f3cf53b5
SIZE (geany-0.4.tar.bz2) = 993117

View File

@ -0,0 +1,10 @@
--- Makefile.in.orig Tue Apr 4 13:17:33 2006
+++ Makefile.in Tue Apr 4 13:17:41 2006
@@ -418,7 +418,6 @@
fi
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
$(INSTALL_DATA) global.tags $(DESTDIR)$(pkgdatadir); \
- $(INSTALL_DATA) COPYING $(DESTDIR)$(pkgdatadir)/GPL-2; \
for file in $(srcdir)/data/*; do \
if test -f $$file; then \
$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/; \

View File

@ -0,0 +1,12 @@
--- src/callbacks.c.orig Tue Apr 4 14:17:38 2006
+++ src/callbacks.c Tue Apr 4 14:20:19 2006
@@ -151,7 +151,8 @@
gtk_widget_destroy(app->default_tag_tree);
}
gtk_widget_destroy(app->window);
- if (app->have_vte) vte_close();
+ // this causes a crash, for some reason
+ // if (app->have_vte) vte_close();
g_free(app);

View File

@ -0,0 +1,14 @@
--- src/main.c.orig Tue Apr 4 14:21:13 2006
+++ src/main.c Tue Apr 4 14:21:16 2006
@@ -241,7 +241,10 @@
gtk_init(&argc, &argv);
// inits
- app = g_new(MyApp, 1);
+ // use g_new0() to make sure that all members are initialized
+ // to NULL (otherwise it segfaults in destroyapp() when trying
+ // to g_free() some undefined pointers)
+ app = g_new0(MyApp, 1);
#ifdef GEANY_DEBUG
geany_debug("debug mode built in (can't be disabled)");
#endif

6
devel/geany/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Geany is a small and lightweight integrated development environment. It was
developed to provide a small and fast IDE, which has only a few dependencies
on other packages. Another goal was to be as independent as possible from a
special Desktop Environment like KDE or GNOME.
WWW: http://geany.uvena.de/

50
devel/geany/pkg-plist Normal file
View File

@ -0,0 +1,50 @@
bin/geany
share/applications/geany.desktop
share/locale/de/LC_MESSAGES/geany.mo
share/pixmaps/geany.png
%%DATADIR%%/filetypes.asm
%%DATADIR%%/filetypes.c
%%DATADIR%%/filetypes.common
%%DATADIR%%/filetypes.conf
%%DATADIR%%/filetypes.css
%%DATADIR%%/filetypes.docbook
%%DATADIR%%/filetypes.java
%%DATADIR%%/filetypes.makefile
%%DATADIR%%/filetypes.markup
%%DATADIR%%/filetypes.pascal
%%DATADIR%%/filetypes.perl
%%DATADIR%%/filetypes.python
%%DATADIR%%/filetypes.sh
%%DATADIR%%/filetypes.tex
%%DATADIR%%/global.tags
%%PORTDOCS%%%%DOCSDIR%%/geany.txt
%%PORTDOCS%%%%DOCSDIR%%/html/apa.html
%%PORTDOCS%%%%DOCSDIR%%/html/apb.html
%%PORTDOCS%%%%DOCSDIR%%/html/apbs02.html
%%PORTDOCS%%%%DOCSDIR%%/html/apbs03.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch01.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch01s02.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch01s03.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch02.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch02s02.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch02s03.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch03.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch03s02.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch03s03.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch03s04.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch03s05.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch03s06.html
%%PORTDOCS%%%%DOCSDIR%%/html/ch03s07.html
%%PORTDOCS%%%%DOCSDIR%%/html/geany.css
%%PORTDOCS%%%%DOCSDIR%%/html/images/find_dialog.jpg
%%PORTDOCS%%%%DOCSDIR%%/html/images/pref_dialog_edit.jpg
%%PORTDOCS%%%%DOCSDIR%%/html/images/pref_dialog_gen.jpg
%%PORTDOCS%%%%DOCSDIR%%/html/images/pref_dialog_templ.jpg
%%PORTDOCS%%%%DOCSDIR%%/html/images/pref_dialog_tools.jpg
%%PORTDOCS%%%%DOCSDIR%%/html/images/pref_dialog_vte.jpg
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
@dirrmtry share/applications
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/images
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%