1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Update to 0.5

- use PLIST_FILES for small pkg-plist

PR:		ports/100562
Submitted by:	KATO Tsuguru
This commit is contained in:
Rong-En Fan 2006-07-20 03:30:18 +00:00
parent 42c29b4317
commit 1082bf2324
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168298
4 changed files with 38 additions and 13 deletions

View File

@ -5,8 +5,7 @@
#
PORTNAME= vqcc-gtk
PORTVERSION= 0.4.1
PORTREVISION= 2
PORTVERSION= 0.5
CATEGORIES?= net-im
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -17,12 +16,18 @@ COMMENT= LAN chat client compatible with quickChat and Vypress Chat (TM)
LIB_DEPENDS= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gnometarget gtk20
USE_GMAKE= yes
USE_GNOME= gtk20 gnomeprefix
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" \
PTHREAD_LIB="${PTHREAD_LIBS}"
PLIST_FILES= bin/vqcc-gtk \
share/gnome/applications/vqcc-gtk.desktop \
share/gnome/pixmaps/vqcc-gtk.png \
share/locale/lt/LC_MESSAGES/vqcc-gtk.mo \
share/locale/ru/LC_MESSAGES/vqcc-gtk.mo
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (vqcc-gtk-0.4.1.tar.gz) = 4205b8112281443832a381b6411bfc31
SHA256 (vqcc-gtk-0.4.1.tar.gz) = 43830a09893c8eb615ef482fa8d00e1fa2c27ae67ed6f547d86dc1e4afb9dde3
SIZE (vqcc-gtk-0.4.1.tar.gz) = 224969
MD5 (vqcc-gtk-0.5.tar.gz) = 88c2beaa96b58b380147a1d24c90349d
SHA256 (vqcc-gtk-0.5.tar.gz) = e29577a606eb4992795a0a711092eced90f5abca31609093309f12b04b7f8e1f
SIZE (vqcc-gtk-0.5.tar.gz) = 252284

View File

@ -0,0 +1,24 @@
--- src/idle.c.orig Tue Jan 4 05:36:55 2005
+++ src/idle.c Mon Jul 17 03:53:55 2006
@@ -54,6 +54,12 @@
idle_check_cb(gpointer dummy)
{
unsigned idle_time; /* idle time in minutes */
+#ifndef _WIN32
+ #ifdef USE_XSCREENSAVER
+ static XScreenSaverInfo * xss_info = 0;
+ int event_base, error_base;
+ #endif /* #ifdef USE_XSCREENSAVER */
+#endif
/* do not enter auto-away or auto-offline when we're in invisible mode */
if(my_mode()==UMODE_INVISIBLE)
@@ -63,8 +69,6 @@
idle_time = winvqcc_get_last_active() / 60000;
#else
#ifdef USE_XSCREENSAVER
- static XScreenSaverInfo * xss_info = 0;
- int event_base, error_base;
/* Query X Window System XScreenSaver extension
*/

View File

@ -1,4 +0,0 @@
bin/vqcc-gtk
share/gnome/applications/vqcc-gtk.desktop
share/gnome/pixmaps/vqcc-gtk.png
share/locale/lt/LC_MESSAGES/vqcc-gtk.mo