diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-04-04 12:28:14 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-04-04 12:28:14 +0000 |
commit | 20d3ebfb049d3dcfaeb925b45de2dcd35eff40f0 (patch) | |
tree | 141f5abc3927ddcaf81a6ec3c2bcb0934497025a /devel | |
parent | 6f8217d7cab2945e3ac07e4a4742f51dd2f57f43 (diff) | |
download | ports-20d3ebfb049d3dcfaeb925b45de2dcd35eff40f0.tar.gz ports-20d3ebfb049d3dcfaeb925b45de2dcd35eff40f0.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/geany/Makefile | 32 | ||||
-rw-r--r-- | devel/geany/distinfo | 3 | ||||
-rw-r--r-- | devel/geany/files/patch-Makefile.in | 10 | ||||
-rw-r--r-- | devel/geany/files/patch-src_callbacks.c | 12 | ||||
-rw-r--r-- | devel/geany/files/patch-src_main.c | 14 | ||||
-rw-r--r-- | devel/geany/pkg-descr | 6 | ||||
-rw-r--r-- | devel/geany/pkg-plist | 50 |
8 files changed, 128 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b620541a3a8e..12e1719f1bdf 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -313,6 +313,7 @@ SUBDIR += gdb53-act SUBDIR += gdb6 SUBDIR += gdbmods + SUBDIR += geany SUBDIR += gengameng SUBDIR += gengetopt SUBDIR += genproto diff --git a/devel/geany/Makefile b/devel/geany/Makefile new file mode 100644 index 000000000000..9e165e72e279 --- /dev/null +++ b/devel/geany/Makefile @@ -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> diff --git a/devel/geany/distinfo b/devel/geany/distinfo new file mode 100644 index 000000000000..e80d9f80c4d2 --- /dev/null +++ b/devel/geany/distinfo @@ -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 diff --git a/devel/geany/files/patch-Makefile.in b/devel/geany/files/patch-Makefile.in new file mode 100644 index 000000000000..6286d8cd4da7 --- /dev/null +++ b/devel/geany/files/patch-Makefile.in @@ -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)/; \ diff --git a/devel/geany/files/patch-src_callbacks.c b/devel/geany/files/patch-src_callbacks.c new file mode 100644 index 000000000000..eb5910fd1eb5 --- /dev/null +++ b/devel/geany/files/patch-src_callbacks.c @@ -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); + diff --git a/devel/geany/files/patch-src_main.c b/devel/geany/files/patch-src_main.c new file mode 100644 index 000000000000..f605454daf24 --- /dev/null +++ b/devel/geany/files/patch-src_main.c @@ -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 diff --git a/devel/geany/pkg-descr b/devel/geany/pkg-descr new file mode 100644 index 000000000000..fd1ba0fe16b3 --- /dev/null +++ b/devel/geany/pkg-descr @@ -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/ diff --git a/devel/geany/pkg-plist b/devel/geany/pkg-plist new file mode 100644 index 000000000000..adfe8d4814ed --- /dev/null +++ b/devel/geany/pkg-plist @@ -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%% |