diff options
-rw-r--r-- | chat/pidgin-silc/DESCR | 1 | ||||
-rw-r--r-- | chat/pidgin-silc/Makefile | 53 | ||||
-rw-r--r-- | chat/pidgin-silc/PLIST | 2 | ||||
-rw-r--r-- | chat/pidgin-silc/distinfo | 12 |
4 files changed, 68 insertions, 0 deletions
diff --git a/chat/pidgin-silc/DESCR b/chat/pidgin-silc/DESCR new file mode 100644 index 00000000000..3d18a349512 --- /dev/null +++ b/chat/pidgin-silc/DESCR @@ -0,0 +1 @@ +This is a SILC protocol plugin for the Pidgin instant messenger. diff --git a/chat/pidgin-silc/Makefile b/chat/pidgin-silc/Makefile new file mode 100644 index 00000000000..757b545a04c --- /dev/null +++ b/chat/pidgin-silc/Makefile @@ -0,0 +1,53 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/08/14 01:16:26 tnn Exp $ +# + +PKGNAME= pidgin-silc-${PIDGIN_VERSION} +COMMENT= SILC plugin for the Pidgin instant messenger + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../chat/libpurple/Makefile.common" + +CONFIGURE_ARGS+= --disable-gevolution +CONFIGURE_ARGS+= --disable-gtkui +CONFIGURE_ARGS+= --disable-consoleui + +BUILD_DIRS= libpurple/protocols/silc + +# Because pkgsrc's silc-toolkit is too old, we have to jump through some very, +# very, VERY nasty hoops to build this package. Hopefully this hack can be +# removed soon. + +BUNDLE_SILC=yes +.if defined(BUNDLE_SILC) + +DISTINFO_FILE= ${.CURDIR}/../../chat/pidgin-silc/distinfo +SITES.silc-toolkit-1.1.2.tar.gz= \ + http://www.silcnet.org/download/toolkit/sources/ +DISTFILES+= pidgin-${PIDGIN_VERSION}.tar.bz2 silc-toolkit-1.1.2.tar.gz +CFLAGS+= -fPIC +pre-configure: + # Build libsilc statically and install it into the buildlink dir + cd ${WRKDIR}/silc-toolkit-1.1.2 && ${SETENV} ${CONFIGURE_ENV} \ + ./configure --disable-asm --enable-static --disable-shared \ + --without-libtoolfix --prefix=${BUILDLINK_DIR} && \ + ${SETENV} ${MAKE_ENV} gmake && \ + ${SETENV} ${MAKE_ENV} gmake install && \ + cp ${WRKDIR}/silc-toolkit-1.1.2/lib/.libs/*.a \ + ${WRKSRC}/libpurple/protocols/silc + +SUBST_CLASSES+= linkage +SUBST_STAGE.linkage= post-configure +SUBST_MESSAGE.linkage= Fixing static linkage +SUBST_FILES.linkage= libpurple/protocols/silc/Makefile +SUBST_SED.linkage= -e 's/-lsilcclient -lsilc/-Wl,--whole-archive,libsilcclient.a,libsilc.a,--no-whole-archive/' + +.endif + +.include "../../chat/libpurple/buildlink3.mk" +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/GConf2/schemas.mk" +.include "../../devel/glib2/buildlink3.mk" +#.include "../../devel/silc-toolkit/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/chat/pidgin-silc/PLIST b/chat/pidgin-silc/PLIST new file mode 100644 index 00000000000..e5aa5dbc07e --- /dev/null +++ b/chat/pidgin-silc/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/08/14 01:16:26 tnn Exp $ +lib/purple-2/libsilcpurple.la diff --git a/chat/pidgin-silc/distinfo b/chat/pidgin-silc/distinfo new file mode 100644 index 00000000000..fbfaa82e305 --- /dev/null +++ b/chat/pidgin-silc/distinfo @@ -0,0 +1,12 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/08/14 01:16:26 tnn Exp $ + +SHA1 (pidgin-2.1.0.tar.bz2) = 33f78d07c3c7797a710bb7d2032a8d0bd89a6ab3 +RMD160 (pidgin-2.1.0.tar.bz2) = d04437251fbea8a1902621ebdf98f6fdc826a6d4 +Size (pidgin-2.1.0.tar.bz2) = 7772942 bytes +SHA1 (silc-toolkit-1.1.2.tar.gz) = 7a68acc2e819d6f4f02bf28d02daf191d41693e4 +RMD160 (silc-toolkit-1.1.2.tar.gz) = e03045ae82679f9062e4e94e8fb131f1a9043a48 +Size (silc-toolkit-1.1.2.tar.gz) = 2678868 bytes +SHA1 (patch-ab) = cba3d381e62a5c4976467eee106a3700c4e771be +SHA1 (patch-ae) = 82cc41e44609480f30062f922ca6001d57336862 +SHA1 (patch-af) = 047d03f91ef386a92e302e7fa2c46ad2d08214e4 +SHA1 (patch-ag) = 0ec16d0937584f63cded37e3085425d0153c24ee |