2010-06-14 00:43:46 +02:00
|
|
|
# $NetBSD: Makefile,v 1.67 2010/06/13 22:43:59 wiz Exp $
|
2000-12-15 01:36:25 +01:00
|
|
|
|
2005-06-06 13:35:39 +02:00
|
|
|
.include "Makefile.common"
|
|
|
|
|
2008-08-22 08:37:39 +02:00
|
|
|
PKGNAME= ${DISTNAME}pl1
|
2010-06-14 00:43:46 +02:00
|
|
|
PKGREVISION= 4
|
2008-05-25 22:49:39 +02:00
|
|
|
OWNER= tron@NetBSD.org
|
2005-06-06 13:35:39 +02:00
|
|
|
COMMENT= X11 (X Window System) IRC client, using the GTK2 toolkit
|
2002-12-24 10:35:53 +01:00
|
|
|
|
2005-06-06 13:35:39 +02:00
|
|
|
CONFLICTS= xchat-gnome-[0-9]*
|
|
|
|
|
2006-04-13 20:23:29 +02:00
|
|
|
USE_TOOLS+= msgfmt
|
2005-06-02 23:48:42 +02:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2007-09-21 15:03:25 +02:00
|
|
|
GCONF_SCHEMAS= apps_xchat_url_handler.schemas
|
2005-06-02 23:48:42 +02:00
|
|
|
|
2005-06-06 13:35:39 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-tcl=no
|
|
|
|
CONFIGURE_ARGS+= --disable-perl
|
|
|
|
CONFIGURE_ARGS+= --disable-python
|
2005-06-02 23:48:42 +02:00
|
|
|
|
2005-06-06 13:35:39 +02:00
|
|
|
LDFLAGS.IRIX+= -lX11
|
2000-12-15 01:36:25 +01:00
|
|
|
|
2005-06-06 13:35:39 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2005-06-02 23:48:42 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2007-01-16 12:07:59 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2007-08-10 21:14:06 +02:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2010-06-02 20:24:47 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.20.0
|
2007-01-16 12:07:59 +01:00
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
|
2006-08-17 08:58:37 +02:00
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
INSTALL_UNSTRIPPED= YES
|
|
|
|
|
2007-05-26 01:08:57 +02:00
|
|
|
.if empty(PKG_BUILD_OPTIONS.gtk2:Mquartz)
|
2008-08-18 23:47:12 +02:00
|
|
|
LDFLAGS.Darwin+= -L${PREFIX}/lib -lX11
|
2007-01-16 12:07:59 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-xlib
|
|
|
|
.endif
|
|
|
|
.endif
|
2005-06-06 13:35:39 +02:00
|
|
|
|
Update xchat to 2.8.0. Okayed by maintainer.
Adds a "cs" locale file. And adds system tray notification support.
(Maybe the xchat-systray-integration package is not needed now?)
Note I never tested the python plugin (but did build and install).
Added two patches direct from xchat's FTP site.
Configure with --enable-xft. (Hopefully that is okay with quark on Mac OS).
Now depends on gtk2+>=2.10.0.
Install a couple documentation files.
Use INSTALLATION_DIRS to create the plugins directory.
ChangeLog hs:
- Updated translations (cs, de, gl, hu).
- XChat now requires at least GTK+ 2.10.
- Added a system tray icon (aka Notification Area). This is probably the
biggest feature addition in this series. Also added a /TRAY command so
scripts can manipulate the icon.
- Added partial support for numeric 005 token ELIST (min users only).
- Brand new channel list window: GtkTreeView, nicer layout, less CPU power
when downloading very large list, uses less memory, supports regexp/
patternmatch/substring search and supports downloading LIST with minusers to
save time (only on some networks that support ELIST).
- Overhauled URL opening on Unix, it now tries xdg-open first, then auto-
detects Gnome or KDE to run gnome-open or kfmclient. URLs with quotes
should also work now (changed to execv()).
- Settings: Warn the user when trying to put the tree on the top/bottom.
- Fixed DCC ack reading so it doesn't use MSG_PEEK.
- Channel modes are no longer shown in the titlebar if they contain a key.
- Added /GUI APPLY command, which does that same as pressing OK in the
settings window (e.g use it after /set). Mainly for scripters.
- Allow changing the logging folder if the log filename is set to a full path
in the settings window (starts with a '/').
- Added 'Your Action' text event.
- Separated out /away and /back commands so it's obvious what they'll do.
- Changes to /MENU command (See plugin20.html for details):
* Now works for popup menus too.
* Allows creation of radio menu items.
* -p arg can now to be negative to give a position offset from right/bottom.
* -i arg to specify an icon file.
- Plugin API:
* Added event_text to xchat_get_info().
- Perl (Lian Wan Situ)
* Fixed hook_command so that it won't override the help message for builtin
commands unless a help message was specified.
* Perl Win32: Warn the user about trying to load 64-bit ActivePerl.
2007-01-25 22:27:48 +01:00
|
|
|
INSTALLATION_DIRS+= share/doc/xchat lib/xchat/plugins
|
|
|
|
|
2005-06-02 23:48:42 +02:00
|
|
|
post-install:
|
2007-05-02 10:11:56 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xchat/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/faq.html ${DESTDIR}${PREFIX}/share/doc/xchat/
|
Update xchat to 2.8.0. Okayed by maintainer.
Adds a "cs" locale file. And adds system tray notification support.
(Maybe the xchat-systray-integration package is not needed now?)
Note I never tested the python plugin (but did build and install).
Added two patches direct from xchat's FTP site.
Configure with --enable-xft. (Hopefully that is okay with quark on Mac OS).
Now depends on gtk2+>=2.10.0.
Install a couple documentation files.
Use INSTALLATION_DIRS to create the plugins directory.
ChangeLog hs:
- Updated translations (cs, de, gl, hu).
- XChat now requires at least GTK+ 2.10.
- Added a system tray icon (aka Notification Area). This is probably the
biggest feature addition in this series. Also added a /TRAY command so
scripts can manipulate the icon.
- Added partial support for numeric 005 token ELIST (min users only).
- Brand new channel list window: GtkTreeView, nicer layout, less CPU power
when downloading very large list, uses less memory, supports regexp/
patternmatch/substring search and supports downloading LIST with minusers to
save time (only on some networks that support ELIST).
- Overhauled URL opening on Unix, it now tries xdg-open first, then auto-
detects Gnome or KDE to run gnome-open or kfmclient. URLs with quotes
should also work now (changed to execv()).
- Settings: Warn the user when trying to put the tree on the top/bottom.
- Fixed DCC ack reading so it doesn't use MSG_PEEK.
- Channel modes are no longer shown in the titlebar if they contain a key.
- Added /GUI APPLY command, which does that same as pressing OK in the
settings window (e.g use it after /set). Mainly for scripters.
- Allow changing the logging folder if the log filename is set to a full path
in the settings window (starts with a '/').
- Added 'Your Action' text event.
- Separated out /away and /back commands so it's obvious what they'll do.
- Changes to /MENU command (See plugin20.html for details):
* Now works for popup menus too.
* Allows creation of radio menu items.
* -p arg can now to be negative to give a position offset from right/bottom.
* -i arg to specify an icon file.
- Plugin API:
* Added event_text to xchat_get_info().
- Perl (Lian Wan Situ)
* Fixed hook_command so that it won't override the help message for builtin
commands unless a help message was specified.
* Perl Win32: Warn the user about trying to load 64-bit ActivePerl.
2007-01-25 22:27:48 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/plugin20.html \
|
2007-05-02 10:11:56 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/xchat/
|
2001-09-26 20:48:53 +02:00
|
|
|
|
2007-08-10 21:14:06 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mgnome)
|
|
|
|
|
2007-09-21 15:03:25 +02:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${GCONF_SCHEMAS_DIR}
|
2007-08-10 21:14:06 +02:00
|
|
|
# In case there're ever additional schema files, use ODE loop.
|
2007-09-21 15:03:25 +02:00
|
|
|
${GCONF_SCHEMAS:@.s.@${INSTALL_DATA} ${WRKSRC}/src/common/dbus/${.s.} \
|
|
|
|
${DESTDIR}${GCONF_SCHEMAS_DIR}/@}
|
2007-08-10 21:14:06 +02:00
|
|
|
.endif
|
|
|
|
|
2000-12-15 01:36:25 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|