aboutsummaryrefslogtreecommitdiff
path: root/devel/liboop
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-06-03 02:07:27 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-06-03 02:07:27 +0000
commit53e28a9bc975fc6a33b0b2833f26e43429869c68 (patch)
tree7d119366509cbe45b3c162f628d3c5a97735bd75 /devel/liboop
parent83df5f7777a4e6a278e923355fed684728086502 (diff)
downloadports-53e28a9bc975fc6a33b0b2833f26e43429869c68.tar.gz
ports-53e28a9bc975fc6a33b0b2833f26e43429869c68.zip
Notes
Diffstat (limited to 'devel/liboop')
-rw-r--r--devel/liboop/Makefile28
-rw-r--r--devel/liboop/distinfo1
-rw-r--r--devel/liboop/files/patch-configure33
-rw-r--r--devel/liboop/pkg-comment1
-rw-r--r--devel/liboop/pkg-descr9
-rw-r--r--devel/liboop/pkg-plist25
6 files changed, 97 insertions, 0 deletions
diff --git a/devel/liboop/Makefile b/devel/liboop/Makefile
new file mode 100644
index 000000000000..1aae7a81bdce
--- /dev/null
+++ b/devel/liboop/Makefile
@@ -0,0 +1,28 @@
+# ex:ts=8
+# New ports collection makefile for: liboop
+# Date created: Jun 1, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= liboop
+PORTVERSION= 0.7
+CATEGORIES= devel
+MASTER_SITES= http://download.gale.org/
+
+MAINTAINER= ijliao@FreeBSD.org
+
+LIB_DEPENDS= adns:${PORTSDIR}/net/adns \
+ wwwcore:${PORTSDIR}/www/libwww
+
+USE_GLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/w3c-libwww" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${PERL} -pi -e "s,%%GLIB_CONFIG%%,${GLIB_CONFIG},g" ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/devel/liboop/distinfo b/devel/liboop/distinfo
new file mode 100644
index 000000000000..0c34122bd19a
--- /dev/null
+++ b/devel/liboop/distinfo
@@ -0,0 +1 @@
+MD5 (liboop-0.7.tar.gz) = 6dee9bcc861577c16515177b97929f00
diff --git a/devel/liboop/files/patch-configure b/devel/liboop/files/patch-configure
new file mode 100644
index 000000000000..f28de624ca8a
--- /dev/null
+++ b/devel/liboop/files/patch-configure
@@ -0,0 +1,33 @@
+--- configure.orig Sun Jun 3 09:40:33 2001
++++ configure Sun Jun 3 09:42:36 2001
+@@ -2056,8 +2056,8 @@
+ fi
+
+
+-# Extract the first word of "glib-config", so it can be a program name with args.
+-set dummy glib-config; ac_word=$2
++# Extract the first word of "glib12-config", so it can be a program name with args.
++set dummy glib12-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+ echo "configure:2063: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_PROG_GLIB_CONFIG'+set}'`\" = set"; then
+@@ -2071,7 +2071,7 @@
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+- ac_cv_prog_PROG_GLIB_CONFIG="glib-config"
++ ac_cv_prog_PROG_GLIB_CONFIG="%%GLIB_CONFIG%%"
+ break
+ fi
+ done
+@@ -2086,8 +2086,8 @@
+ fi
+
+ if test -n "$PROG_GLIB_CONFIG" ; then
+- GLIB_INCLUDES="`glib-config --cflags`"
+- GLIB_LIBS="liboop-glib.la `glib-config --libs`"
++ GLIB_INCLUDES="`%%GLIB_CONFIG%% --cflags`"
++ GLIB_LIBS="liboop-glib.la `%%GLIB_CONFIG%% --libs`"
+ cat >> confdefs.h <<\EOF
+ #define HAVE_GLIB 1
+ EOF
diff --git a/devel/liboop/pkg-comment b/devel/liboop/pkg-comment
new file mode 100644
index 000000000000..94387a22b3e6
--- /dev/null
+++ b/devel/liboop/pkg-comment
@@ -0,0 +1 @@
+A low-level event loop management library for POSIX-based OS
diff --git a/devel/liboop/pkg-descr b/devel/liboop/pkg-descr
new file mode 100644
index 000000000000..ccf73595744f
--- /dev/null
+++ b/devel/liboop/pkg-descr
@@ -0,0 +1,9 @@
+Liboop is a low-level event loop management library for POSIX-based operating
+systems. It supports the development of modular, multiplexed applications
+which may respond to events from several sources. It replaces the "select()
+loop" and allows the registration of event handlers for file and network I/O,
+timers and signals. Since processes use these mechanisms for almost all
+external communication, liboop can be used as the basis for almost any
+application.
+
+WWW: http://liboop.org/
diff --git a/devel/liboop/pkg-plist b/devel/liboop/pkg-plist
new file mode 100644
index 000000000000..d56f4fd30bf4
--- /dev/null
+++ b/devel/liboop/pkg-plist
@@ -0,0 +1,25 @@
+include/oop-adns.h
+include/oop-glib.h
+include/oop-rl.h
+include/oop-www.h
+include/oop.h
+lib/liboop-adns.a
+lib/liboop-adns.la
+lib/liboop-adns.so
+lib/liboop-adns.so.1
+lib/liboop-glib.a
+lib/liboop-glib.la
+lib/liboop-glib.so
+lib/liboop-glib.so.0
+lib/liboop-rl.a
+lib/liboop-rl.la
+lib/liboop-rl.so
+lib/liboop-rl.so.0
+lib/liboop-www.a
+lib/liboop-www.la
+lib/liboop-www.so
+lib/liboop-www.so.0
+lib/liboop.a
+lib/liboop.la
+lib/liboop.so
+lib/liboop.so.3