summaryrefslogtreecommitdiff
path: root/chat/gaim-icb/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-11-02 08:34:47 +0000
committerjlam <jlam@pkgsrc.org>2005-11-02 08:34:47 +0000
commit9bb6f069a1835f639780f723af09315d930a1a8e (patch)
tree1b6a2af217b64bd7026ff75ac687b1c901128669 /chat/gaim-icb/Makefile
parentb0bf955d41e595c6e9e11ad2350e3d72f171c400 (diff)
downloadpkgsrc-9bb6f069a1835f639780f723af09315d930a1a8e.tar.gz
Initial import of gaim-icb-20050918 as chat/gaim-icb. This is an ICB
protocol plugin for GAIM (chat/gaim). Important changes that were made as part of porting this software to pkgsrc include the following: * Teach gaim-icb to display all status messages sent by the ICB server, which allows server-specific info messages to be received by the ICB plugin. * Add the "brick" shortcut command (of course).
Diffstat (limited to 'chat/gaim-icb/Makefile')
-rw-r--r--chat/gaim-icb/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/chat/gaim-icb/Makefile b/chat/gaim-icb/Makefile
new file mode 100644
index 00000000000..ad2379931a6
--- /dev/null
+++ b/chat/gaim-icb/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/02 08:34:47 jlam Exp $
+
+DISTNAME= gaim-icb-20050918
+CATEGORIES= chat
+MASTER_SITES= http://nic.com.pl/~alek/gaim-icb/
+
+MAINTAINER= nathanw@NetBSD.org
+HOMEPAGE= http://nic.com.pl/~alek/gaim-icb/
+COMMENT= ICB plugin for GAIM
+
+USE_TOOLS+= pkg-config
+
+USE_LIBTOOL= yes
+NO_CONFIGURE= yes
+
+LTCOMPILE= ${SHLIBTOOL} --mode=compile ${CC}
+LTLINK= ${SHLIBTOOL} --mode=link ${CC}
+LTINSTALL= ${SHLIBTOOL} --mode=install ${INSTALL_LIB}
+CFLAGS+= -DHAVE_CONFIG_H `pkg-config gaim --cflags`
+LDFLAGS+= -module -avoid-version -rpath ${GAIM_PLUGIN_DIR} \
+ `pkg-config gaim --libs`
+
+GAIM_PLUGIN_DIR= ${PREFIX}/lib/gaim
+GAIM_PIXMAPS_DIR= ${PREFIX}/share/pixmaps/gaim
+
+do-build:
+ cd ${WRKSRC} && ${LTCOMPILE} ${CFLAGS} -I. -c icb.c
+ cd ${WRKSRC} && ${LTLINK} ${LDFLAGS} -o libicb.la icb.lo
+
+do-install:
+ ${INSTALL_LIB_DIR} ${GAIM_PLUGIN_DIR}
+ cd ${WRKSRC} && ${LTINSTALL} libicb.la ${GAIM_PLUGIN_DIR}
+ ${INSTALL_DATA_DIR} ${GAIM_PIXMAPS_DIR}/status/default
+ cd ${WRKSRC} && ${INSTALL_DATA} icb.png \
+ ${GAIM_PIXMAPS_DIR}/status/default
+
+.include "../../chat/gaim/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"