summaryrefslogtreecommitdiff
path: root/devel/libast
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libast')
-rw-r--r--devel/libast/DESCR6
-rw-r--r--devel/libast/Makefile26
-rw-r--r--devel/libast/PLIST21
-rw-r--r--devel/libast/buildlink2.mk24
-rw-r--r--devel/libast/distinfo5
-rw-r--r--devel/libast/patches/patch-aa13
6 files changed, 95 insertions, 0 deletions
diff --git a/devel/libast/DESCR b/devel/libast/DESCR
new file mode 100644
index 00000000000..24fa415efee
--- /dev/null
+++ b/devel/libast/DESCR
@@ -0,0 +1,6 @@
+The Library of Assorted Spiffy Things (LibAST - formerly libmej) was
+originally designed as a companion library to Eterm. However, it
+contains many features that other projects may find useful, so it
+has been broken out into its own library. Features include thorough
+debugging and memory tracking engines, various string manipulation
+functions, and a flexible config file parsing engine.
diff --git a/devel/libast/Makefile b/devel/libast/Makefile
new file mode 100644
index 00000000000..970f8971b95
--- /dev/null
+++ b/devel/libast/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/26 04:52:19 wiz Exp $
+
+DISTNAME= libast-0.5
+CATEGORIES= devel
+MASTER_SITES= http://www.eterm.org/download/
+
+MAINTAINER= gendalia@netbsd.org
+HOMEPAGE= http://freshmeat.net/projects/libast/?topic_id=809%2C861
+COMMENT= The Library of Assorted Spiffy Things
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+TEST_TARGET= test
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386" && ${USE_MMX} != "NO"
+CONFIGURE_ARGS+= --enable-mmx
+.endif
+BUILD_DEFS+= USE_MMX
+
+.include "../../devel/pcre/buildlink2.mk"
+.include "../../graphics/imlib2/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libast/PLIST b/devel/libast/PLIST
new file mode 100644
index 00000000000..8d677d81984
--- /dev/null
+++ b/devel/libast/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/26 04:52:19 wiz Exp $
+bin/libast-config
+include/libast.h
+include/libast/array.h
+include/libast/dlinked_list.h
+include/libast/linked_list.h
+include/libast/list_if.h
+include/libast/obj.h
+include/libast/regexp.h
+include/libast/socket.h
+include/libast/str.h
+include/libast/tok.h
+include/libast/types.h
+include/libast/url.h
+lib/libast.a
+lib/libast.la
+lib/libast.so
+lib/libast.so.2
+lib/libast.so.2.0
+share/aclocal/libast.m4
+@dirrm include/libast
diff --git a/devel/libast/buildlink2.mk b/devel/libast/buildlink2.mk
new file mode 100644
index 00000000000..bc6c19b38c8
--- /dev/null
+++ b/devel/libast/buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/12/26 04:52:19 wiz Exp $
+#
+
+.if !defined(LIBAST_BUILDLINK2_MK)
+LIBAST_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libast
+BUILDLINK_DEPENDS.libast?= libast>=0.5
+BUILDLINK_PKGSRCDIR.libast?= ../../devel/libast
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libast=libast
+BUILDLINK_PREFIX.libast_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libast+= include/libast.h
+BUILDLINK_FILES.libast+= include/libast/*.h
+BUILDLINK_FILES.libast+= lib/libast.*
+
+.include "../../devel/pcre/buildlink2.mk"
+.include "../../graphics/imlib2/buildlink2.mk"
+
+BUILDLINK_TARGETS+= libast-buildlink
+
+libast-buildlink: _BUILDLINK_USE
+
+.endif # LIBAST_BUILDLINK2_MK
diff --git a/devel/libast/distinfo b/devel/libast/distinfo
new file mode 100644
index 00000000000..6371a939357
--- /dev/null
+++ b/devel/libast/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/26 04:52:19 wiz Exp $
+
+SHA1 (libast-0.5.tar.gz) = e5e8305283bf64c7392ec752542ea27a3bccb350
+Size (libast-0.5.tar.gz) = 276591 bytes
+SHA1 (patch-aa) = 0a870149b7750089aef347a878f3953a66b16c37
diff --git a/devel/libast/patches/patch-aa b/devel/libast/patches/patch-aa
new file mode 100644
index 00000000000..16fa9911e19
--- /dev/null
+++ b/devel/libast/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/26 04:52:19 wiz Exp $
+--- include/libast.h.orig Sat Dec 14 19:46:35 2002
++++ include/libast.h Sat Dec 14 19:51:09 2002
+@@ -35,9 +35,6 @@
+ # ifndef _BSD_SOURCE
+ # define _BSD_SOURCE
+ # endif
+-# ifndef _XOPEN_SOURCE
+-# define _XOPEN_SOURCE
+-# endif
+ #endif
+
+ #include <stdio.h>