diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-09-19 12:49:41 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-09-19 12:49:41 +0000 |
commit | 528570cda210935498e16d0af1a3ee6c0b1fd8b1 (patch) | |
tree | cfb24cd95d2ec4609c5423887828c61fdd331ec2 /chinese/pcmanx | |
parent | 54d040fb9c39a89d68d8de77e2da6b96b8c3c6ac (diff) | |
download | ports-528570cda210935498e16d0af1a3ee6c0b1fd8b1.tar.gz ports-528570cda210935498e16d0af1a3ee6c0b1fd8b1.zip |
Notes
Diffstat (limited to 'chinese/pcmanx')
-rw-r--r-- | chinese/pcmanx/Makefile | 5 | ||||
-rw-r--r-- | chinese/pcmanx/distinfo | 4 | ||||
-rw-r--r-- | chinese/pcmanx/files/patch-src-notifier-notifier-impl.c | 47 | ||||
-rw-r--r-- | chinese/pcmanx/pkg-plist | 7 |
4 files changed, 12 insertions, 51 deletions
diff --git a/chinese/pcmanx/Makefile b/chinese/pcmanx/Makefile index b947cad820bc..499e0eac7da5 100644 --- a/chinese/pcmanx/Makefile +++ b/chinese/pcmanx/Makefile @@ -6,8 +6,8 @@ # PORTNAME= pcmanx -PORTVERSION= 0.2.6 -CATEGORIES= chinese net +PORTVERSION= 0.3.1 +CATEGORIES= chinese net gnome MASTER_SITES= http://pcmanx.csie.net/release/ \ http://bbs.ilc.edu.tw/~chinsan/pcmanx/ DISTNAME= pcmanx-pure-gtk2-${PORTVERSION} @@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= PCManX is a BBS client using GTK+ 2.x USE_GNOME= gtk20 intlhack +USE_GCC= 3.3+ USE_LIBTOOL_VER=15 USE_X_PREFIX= yes USE_REINPLACE= yes diff --git a/chinese/pcmanx/distinfo b/chinese/pcmanx/distinfo index 67d6d9a8cf8a..057f217639ec 100644 --- a/chinese/pcmanx/distinfo +++ b/chinese/pcmanx/distinfo @@ -1,2 +1,2 @@ -MD5 (pcmanx-pure-gtk2-0.2.6.tar.gz) = 0cd39e2c5aba6ff940aa41ecd7c8f681 -SIZE (pcmanx-pure-gtk2-0.2.6.tar.gz) = 544943 +MD5 (pcmanx-pure-gtk2-0.3.1.tar.gz) = e7a35b271c75faee37640f998f1ed84c +SIZE (pcmanx-pure-gtk2-0.3.1.tar.gz) = 585142 diff --git a/chinese/pcmanx/files/patch-src-notifier-notifier-impl.c b/chinese/pcmanx/files/patch-src-notifier-notifier-impl.c deleted file mode 100644 index 6bde5e05769a..000000000000 --- a/chinese/pcmanx/files/patch-src-notifier-notifier-impl.c +++ /dev/null @@ -1,47 +0,0 @@ ---- src/notifier/notifier-impl.c.orig Mon Jul 25 21:56:10 2005 -+++ src/notifier/notifier-impl.c Wed Jul 27 00:40:38 2005 -@@ -160,11 +160,14 @@ - - static Win* begin_animation(GtkWidget * win, GtkWidget * context) - { -+ int slot, begin; -+ Win *w; -+ - update_working_area(); - -- int slot = get_slot(win); -- int begin = working_area.y + height - slot * NHEIGHT; -- Win *w = g_new0(Win, 1); -+ slot = get_slot(win); -+ begin = working_area.y + height - slot * NHEIGHT; -+ w = g_new0(Win, 1); - - w->win = win; - w->context = context; -@@ -216,6 +219,8 @@ - GtkWidget *imageNotify; - GtkWidget *labelNotify; - GtkWidget *labelCaption; -+ GtkWidget *button; -+ Win *w; - - context = gtk_table_new(2, 2, TRUE); - -@@ -245,7 +250,7 @@ - GTK_FILL, GTK_FILL, - 0,0); - -- GtkWidget* button = gtk_button_new(); -+ button = gtk_button_new(); - gtk_container_add(GTK_CONTAINER(win), button); - - frame = gtk_frame_new(NULL); -@@ -261,7 +266,7 @@ - G_OBJECT(button), "clicked", - click_cb, click_cb_data); - -- Win* w = begin_animation(win, context); -+ w = begin_animation(win, context); - g_free(context_text); - - w->parent = parent; diff --git a/chinese/pcmanx/pkg-plist b/chinese/pcmanx/pkg-plist index 627edb535bce..6ad959d76bf2 100644 --- a/chinese/pcmanx/pkg-plist +++ b/chinese/pcmanx/pkg-plist @@ -3,9 +3,16 @@ lib/libpcmanx_core.a lib/libpcmanx_core.so lib/libpcmanx_core.so.0 %%NLS%%share/locale/zh_TW/LC_MESSAGES/pcmanx.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/pcmanx.mo %%DATADIR%%/emoticons %%DATADIR%%/sitelist +%%DATADIR%%/nancy_bot/default.conf +%%DATADIR%%/nancy_bot/default_msg.data +%%DATADIR%%/nancy_bot/example.conf +%%DATADIR%%/nancy_bot/example_msg.data share/applications/pcmanx.desktop share/pixmaps/pcmanx.png @unexec rmdir %D/share/applications 2>/dev/null || true +@unexec rmdir %D/%%DATADIR%%/nancy_bot 2>/dev/null || true +@unexec rmdir %D/%%DATADIR%%/script 2>/dev/null || true @dirrm %%DATADIR%% |