From a241c49914eeffe0c085fbf35116cbf59bb4c87f Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 22 Feb 2004 21:49:42 +0000 Subject: Import libtlen from pkgsrc-wip. Packaged by Michal Pasternak, and slightly modified by me. Libtlen is a client library to access tlen.pl IM/chat system. --- chat/libtlen/DESCR | 1 + chat/libtlen/Makefile | 21 +++++++++++++++++++ chat/libtlen/PLIST | 21 +++++++++++++++++++ chat/libtlen/buildlink3.mk | 22 +++++++++++++++++++ chat/libtlen/distinfo | 5 +++++ chat/libtlen/patches/patch-aa | 49 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 119 insertions(+) create mode 100644 chat/libtlen/DESCR create mode 100644 chat/libtlen/Makefile create mode 100644 chat/libtlen/PLIST create mode 100644 chat/libtlen/buildlink3.mk create mode 100644 chat/libtlen/distinfo create mode 100644 chat/libtlen/patches/patch-aa (limited to 'chat') diff --git a/chat/libtlen/DESCR b/chat/libtlen/DESCR new file mode 100644 index 00000000000..2d35ccc1332 --- /dev/null +++ b/chat/libtlen/DESCR @@ -0,0 +1 @@ +Libtlen is a client library to access tlen.pl IM/chat system. diff --git a/chat/libtlen/Makefile b/chat/libtlen/Makefile new file mode 100644 index 00000000000..cf0b26be3ba --- /dev/null +++ b/chat/libtlen/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $ +# + +DISTNAME= libtlen-20040212 +CATEGORIES= chat +MASTER_SITES= http://www.libtlen.eu.org/snapshots/archive/ + +MAINTAINER= dotz@irc.pl +HOMEPAGE= http://www.libtlen.eu.org/ +COMMENT= Library to access tlen.pl IM system + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= yes +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +INSTALLATION_DIRS= lib + +.include "../../mk/bsd.pkg.mk" diff --git a/chat/libtlen/PLIST b/chat/libtlen/PLIST new file mode 100644 index 00000000000..0bd131373d9 --- /dev/null +++ b/chat/libtlen/PLIST @@ -0,0 +1,21 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $ +include/libtlen/asciitab.h +include/libtlen/hashtable.h +include/libtlen/iasciitab.h +include/libtlen/latin1tab.h +include/libtlen/libtlen.h +include/libtlen/nametab.h +include/libtlen/pool.h +include/libtlen/str.h +include/libtlen/utf8tab.h +include/libtlen/xmldef.h +include/libtlen/xmlparse.h +include/libtlen/xmlrole.h +include/libtlen/xmltok.h +include/libtlen/xmltok_impl.h +lib/libtlen.a +lib/libtlen.la +lib/libtlen.so +lib/libtlen.so.1 +lib/libtlen.so.1.5 +@dirrm include/libtlen diff --git a/chat/libtlen/buildlink3.mk b/chat/libtlen/buildlink3.mk new file mode 100644 index 00000000000..6de8d65f224 --- /dev/null +++ b/chat/libtlen/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $ +# +# This Makefile fragment is included by packages that use libtlen. +# +# This file was created automatically using createbuildlink-3.1. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBTLEN_BUILDLINK3_MK:= ${LIBTLEN_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libtlen +.endif + +.if !empty(LIBTLEN_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= libtlen +BUILDLINK_DEPENDS.libtlen+= libtlen>=20040212 +BUILDLINK_PKGSRCDIR.libtlen?= ../../wip/libtlen + +.endif # LIBTLEN_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/chat/libtlen/distinfo b/chat/libtlen/distinfo new file mode 100644 index 00000000000..6b1f9e963da --- /dev/null +++ b/chat/libtlen/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $ + +SHA1 (libtlen-20040212.tar.gz) = 26a81403ed34da5fa0b3c4663ffc82e20e5b13fb +Size (libtlen-20040212.tar.gz) = 183309 bytes +SHA1 (patch-aa) = e1ce28c5ec1f494a9bc3f438d4bd468e680cfc9b diff --git a/chat/libtlen/patches/patch-aa b/chat/libtlen/patches/patch-aa new file mode 100644 index 00000000000..3698e8cc36d --- /dev/null +++ b/chat/libtlen/patches/patch-aa @@ -0,0 +1,49 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $ + +--- lib/Makefile.in.orig 2003-01-16 10:33:32.000000000 +0000 ++++ lib/Makefile.in +@@ -33,7 +33,7 @@ STATIC = libtlen.a + HEADERS = *.h + libincludedir = /libtlen + +-all: static shared test-client ++all: static test-client + static: $(STATIC) + shared: $(SHARED) + test-client: testclient +@@ -49,15 +49,17 @@ static: $(STATIC) + shared: $(SHARED) + + $(STATIC): $(OBJS) +- $(AR) r $(STATIC) $(OBJS) +- $(RANLIB) $(STATIC) ++ ${LIBTOOL} --mode=link ${CC} -o ${STATIC:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info ${VERSION_MAJOR}:${VERSION_MINOR} ++ ++%.o: %.c ++ ${LIBTOOL} --mode=compile ${CC} -c ${CPPFLAGS} ${CFLAGS} $< -o $@ + + $(SHARED): $(OBJS) + $(CC) -g -O2 -shared -Wl,-soname,libtlen.so.$(VERSION_MAJOR) -o $(SHARED) $(OBJS) $(LIBS) -lc + $(LN_S) -f $(SHARED) $(SHAREDM) + $(LN_S) -f $(SHARED) $(SHAREDMM) + +-install: install-shared install-static install-devel ++install: install-static install-devel + + install-shared: + $(INSTALL) -d $(DESTDIR)$(libdir) +@@ -66,12 +68,11 @@ install-shared: + cd $(DESTDIR)$(libdir) && $(LN_S) -f $(SHARED) $(SHAREDMM) + + install-static: +- $(INSTALL) -d $(DESTDIR)$(libdir) +- $(INSTALL) -m 755 $(STATIC) $(DESTDIR)$(libdir) ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${STATIC:.a=.la} ${PREFIX}/lib + + install-devel: + $(INSTALL) -d $(DESTDIR)$(includedir)$(libincludedir) + $(INSTALL) -m 644 $(HEADERS) $(DESTDIR)$(includedir)$(libincludedir) + + testclient: $(STATIC) testclient.c +- $(CC) -Wall -ggdb -o testclient testclient.c libtlen.a $(LIBS) ++ ${LIBTOOL} --mode=link $(CC) -Wall -o testclient testclient.c libtlen.la $(LIBS) -- cgit v1.2.3