pkgsrc/chat/gaim-icb/Makefile
jlam 9bb6f069a1 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).
2005-11-02 08:34:47 +00:00

39 lines
1.1 KiB
Makefile

# $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"