diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-07-03 02:43:56 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-07-03 02:43:56 +0000 |
commit | ba8826889a267bb6ce7fc93c177f017c50954ee2 (patch) | |
tree | 6d4ee54ade31845d3ab9ca8644a189fba417fd55 /net | |
parent | 94dd96a7db6d1fb7ed86b1f8cab583454c7198a0 (diff) | |
download | ports-ba8826889a267bb6ce7fc93c177f017c50954ee2.tar.gz ports-ba8826889a267bb6ce7fc93c177f017c50954ee2.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/icukrell/Makefile | 33 | ||||
-rw-r--r-- | net/icukrell/distinfo | 1 | ||||
-rw-r--r-- | net/icukrell/files/patch-Makefile | 56 | ||||
-rw-r--r-- | net/icukrell/files/patch-src::themes.c | 83 | ||||
-rw-r--r-- | net/icukrell/pkg-comment | 1 | ||||
-rw-r--r-- | net/icukrell/pkg-descr | 7 | ||||
-rw-r--r-- | net/icukrell/pkg-plist | 2 |
8 files changed, 184 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 91329385cb20..4f2ccbb7bfd9 100644 --- a/net/Makefile +++ b/net/Makefile @@ -138,6 +138,7 @@ SUBDIR += icqlib SUBDIR += icqlib0 SUBDIR += icqnix + SUBDIR += icukrell SUBDIR += ip-tun SUBDIR += ipcad SUBDIR += ipcalc diff --git a/net/icukrell/Makefile b/net/icukrell/Makefile new file mode 100644 index 000000000000..e618bab7b658 --- /dev/null +++ b/net/icukrell/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: icukrell +# Date Created: 2 July 2001 +# Whom: Peter van Heusden <pvh@egenetics.com> +# +# $FreeBSD$ +# + +PORTNAME= icukrell +PORTVERSION= 0.1.3 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= pvh@egenetics.com + +BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm \ + gnomeicu:${PORTSDIR}/net/gnomeicu + +USE_X_PREFIX= yes +USE_GNOMELIBS= yes +USE_GTK= yes + +post-patch: + @${PERL} -pi -ne "s!/usr/local/!${PREFIX}/!" ${WRKSRC}/config.h + +do-install: + @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \ + ${PREFIX}/libexec/gkrellm/plugins + @${INSTALL_DATA} ${WRKSRC}/icukrell.so ${PREFIX}/libexec/gkrellm/plugins + @${INSTALL_PROGRAM} ${WRKSRC}/icukrell-client ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/net/icukrell/distinfo b/net/icukrell/distinfo new file mode 100644 index 000000000000..15775ea3854e --- /dev/null +++ b/net/icukrell/distinfo @@ -0,0 +1 @@ +MD5 (icukrell-0.1.3.tar.gz) = 8f442cec0a00d490ccc30ce89bf4a90b diff --git a/net/icukrell/files/patch-Makefile b/net/icukrell/files/patch-Makefile new file mode 100644 index 000000000000..356a7ed7a8d9 --- /dev/null +++ b/net/icukrell/files/patch-Makefile @@ -0,0 +1,56 @@ +--- Makefile.orig Sun May 6 18:03:12 2001 ++++ Makefile Mon Jul 2 23:07:45 2001 +@@ -2,24 +2,25 @@ + # Makefile for IcuKrell 0.1.3 + # + +-GTK_INCLUDE = `gtk-config --cflags` +-GTK_LIB = `gtk-config --libs` ++GTK_INCLUDE = `$(GTK_CONFIG) --cflags` ++GTK_LIB = `$(GTK_CONFIG) --libs` + +-GNOME_INCLUDE = `gnome-config --cflags gnorba gnomeui` +-GNOME_LIB = `gnome-config --libs gnorba gnomeui` ++GNOME_INCLUDE = `$(GNOME_CONFIG) --cflags gnorba gnomeui` ++GNOME_LIB = `$(GNOME_CONFIG) --libs gnorba gnomeui` + +-IMLIB_INCLUDE = `imlib-config --cflags-gdk` +-IMLIB_LIBS = `imlib-config --libs-gdk` ++IMLIB_INCLUDE = `$(IMLIB_CONFIG) --cflags-gdk` ++IMLIB_LIBS = `$(IMLIB_CONFIG) --libs-gdk` + +-CFLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(GNOME_INCLUDE) $(IMLIB_INCLUDE) +-LIBS = $(GTK_LIB) $(GNOME_LIBS) $(IMLIB_LIBS) +-LFLAGS = -shared -lpthread ++CFLAGS += -Wall -fPIC $(GTK_INCLUDE) $(GNOME_INCLUDE) $(IMLIB_INCLUDE) $(PTHREAD_CFLAGS) ++LIBS = $(GTK_LIB) $(GNOME_LIBS) $(IMLIB_LIBS) $(PTHREAD_LIBS) ++LFLAGS = -shared + +-CC = gcc $(CFLAGS) $(FLAGS) ++CC += $(CFLAGS) $(FLAGS) + +-OBJS = src/action.o src/options.o src/icukrell.o src/themes.o ++OBJS = action.o options.o icukrell.o themes.o + CLIENT_OBJS = client/icukrell-client.c + ++VPATH=src + ICUKRELL_PROGS = icukrell.so icukrell-client + + all: $(ICUKRELL_PROGS) +@@ -35,12 +36,12 @@ + rm -f icukrell-client + + install: +- install -c -s -m 755 icukrell.so /usr/share/gkrellm/plugins +- install -c -s -m 755 icukrell-client/icukrell-client /usr/local/bin ++ $(BSD_INSTALL_DATA) icukrell.so /usr/share/gkrellm/plugins ++ $(BSD_INSTALL_PROGRAM) icukrell-client/icukrell-client /usr/local/bin + + install-user: +- install -c -s -m 755 icukrell.so $(HOME)/.gkrellm/plugins +- install -c -s -m 755 icukrell-client/icukrell-client /usr/local/bin ++ $(BSD_INSTALL_DATA) icukrell.so $(HOME)/.gkrellm/plugins ++ $(BSD_INSTALL_PROGRAM) icukrell-client/icukrell-client /usr/local/bin + + icukrell.c.o: icukrell.c + options.c.o: options.c diff --git a/net/icukrell/files/patch-src::themes.c b/net/icukrell/files/patch-src::themes.c new file mode 100644 index 000000000000..f9341c4efedd --- /dev/null +++ b/net/icukrell/files/patch-src::themes.c @@ -0,0 +1,83 @@ +--- src/themes.c.orig Sun May 6 18:02:50 2001 ++++ src/themes.c Mon Jul 2 22:49:07 2001 +@@ -43,6 +43,8 @@ + #endif + make_file_name("gnomeicu-offline.png"); + im = gdk_imlib_load_image(full_file); ++ if (im == NULL) ++ return FALSE; + gdk_imlib_render(im, im->rgb_width, im->rgb_height); + offline_pixmap = gdk_imlib_copy_image(im); + offline_bitmap = gdk_imlib_copy_mask(im); +@@ -53,6 +55,8 @@ + #endif + make_file_name("gnomeicu-online.png"); + im = gdk_imlib_load_image(full_file); ++ if (im == NULL) ++ return FALSE; + gdk_imlib_render(im, im->rgb_width, im->rgb_height); + online_pixmap = gdk_imlib_copy_image(im); + online_bitmap = gdk_imlib_copy_mask(im); +@@ -63,6 +67,8 @@ + #endif + make_file_name("gnomeicu-inv.png"); + im = gdk_imlib_load_image(full_file); ++ if (im == NULL) ++ return FALSE; + gdk_imlib_render(im, im->rgb_width, im->rgb_height); + inv_pixmap = gdk_imlib_copy_image(im); + inv_bitmap = gdk_imlib_copy_mask(im); +@@ -73,6 +79,8 @@ + #endif + make_file_name("gnomeicu-na.png"); + im = gdk_imlib_load_image(full_file); ++ if (im == NULL) ++ return FALSE; + gdk_imlib_render(im, im->rgb_width, im->rgb_height); + na_pixmap = gdk_imlib_copy_image(im); + na_bitmap = gdk_imlib_copy_mask(im); +@@ -83,6 +91,8 @@ + #endif + make_file_name("gnomeicu-ffc.png"); + im = gdk_imlib_load_image(full_file); ++ if (im == NULL) ++ return FALSE; + gdk_imlib_render(im, im->rgb_width, im->rgb_height); + chat_pixmap = gdk_imlib_copy_image(im); + chat_bitmap = gdk_imlib_copy_mask(im); +@@ -93,6 +103,8 @@ + #endif + make_file_name("gnomeicu-occ.png"); + im = gdk_imlib_load_image(full_file); ++ if (im == NULL) ++ return FALSE; + gdk_imlib_render(im, im->rgb_width, im->rgb_height); + occ_pixmap = gdk_imlib_copy_image(im); + occ_bitmap = gdk_imlib_copy_mask(im); +@@ -103,6 +115,8 @@ + #endif + make_file_name("gnomeicu-away.png"); + im = gdk_imlib_load_image(full_file); ++ if (im == NULL) ++ return FALSE; + gdk_imlib_render(im, im->rgb_width, im->rgb_height); + away_pixmap = gdk_imlib_copy_image(im); + away_bitmap = gdk_imlib_copy_mask(im); +@@ -113,6 +127,8 @@ + #endif + make_file_name("gnomeicu-dnd.png"); + im = gdk_imlib_load_image(full_file); ++ if (im == NULL) ++ return FALSE; + gdk_imlib_render(im, im->rgb_width, im->rgb_height); + dnd_pixmap = gdk_imlib_copy_image(im); + dnd_bitmap = gdk_imlib_copy_mask(im); +@@ -123,6 +139,8 @@ + #endif + make_file_name("gnomeicu-message.png"); + im = gdk_imlib_load_image(full_file); ++ if (im == NULL) ++ return FALSE; + gdk_imlib_render(im, im->rgb_width, im->rgb_height); + message_pixmap = gdk_imlib_copy_image(im); + message_bitmap = gdk_imlib_copy_mask(im); diff --git a/net/icukrell/pkg-comment b/net/icukrell/pkg-comment new file mode 100644 index 000000000000..f9abf652b229 --- /dev/null +++ b/net/icukrell/pkg-comment @@ -0,0 +1 @@ +GKrellM plugin which shows status of gnomeICU diff --git a/net/icukrell/pkg-descr b/net/icukrell/pkg-descr new file mode 100644 index 000000000000..23c9755714ab --- /dev/null +++ b/net/icukrell/pkg-descr @@ -0,0 +1,7 @@ +GKrellM plugin which shows status of gnomeICU + +A plugin for gkrellm, that keeps track of the status of gnomeICU, +the gnome ICQ client. + +Author: drJeckyll <drJeckyll@hotmail.com> +WWW: http://icukrell.sourceforge.net/ diff --git a/net/icukrell/pkg-plist b/net/icukrell/pkg-plist new file mode 100644 index 000000000000..e798229a091b --- /dev/null +++ b/net/icukrell/pkg-plist @@ -0,0 +1,2 @@ +bin/icukrell-client +libexec/gkrellm/plugins/icukrell.so |