aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libisc
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2005-12-14 05:16:18 +0800
committersimon <simon@FreeBSD.org>2005-12-14 05:16:18 +0800
commit5827a7100cb5bb0b53f3b75172cfe6bd2de23a86 (patch)
tree1c7c508d02dbf4e5227052ae5004b9e7a4259a6c /devel/libisc
parentf100b4188e6582476a8483a7aec628f6069474ab (diff)
downloadfreebsd-ports-gnome-5827a7100cb5bb0b53f3b75172cfe6bd2de23a86.tar.gz
freebsd-ports-gnome-5827a7100cb5bb0b53f3b75172cfe6bd2de23a86.tar.zst
freebsd-ports-gnome-5827a7100cb5bb0b53f3b75172cfe6bd2de23a86.zip
Add libisc port:
libisc is C utility library which is used as part of part of ISC's bind. It includes functions for: - assertion handling. - balanced binary (AVL) trees. - bit masks comparison. - event based programs. - heap-based priority queues. - memory handling. - program logging. Reviewed by: erwin
Diffstat (limited to 'devel/libisc')
-rw-r--r--devel/libisc/Makefile39
-rw-r--r--devel/libisc/distinfo6
-rw-r--r--devel/libisc/files/patch-Makefile40
-rw-r--r--devel/libisc/pkg-descr10
-rw-r--r--devel/libisc/pkg-plist16
5 files changed, 111 insertions, 0 deletions
diff --git a/devel/libisc/Makefile b/devel/libisc/Makefile
new file mode 100644
index 000000000000..fd9580ebb245
--- /dev/null
+++ b/devel/libisc/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: libisc
+# Date created: 26 Nov 2005
+# Whom: Simon L. Nielsen <simon@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libisc
+PORTVERSION= 9.3.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_ISC}
+MASTER_SITE_SUBDIR= bind9/${ISCVERSION}
+DISTNAME= bind-${ISCVERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= simon@FreeBSD.org
+COMMENT= ISC's utility library
+
+# ISC releases things like 9.3.0rc1, which our versioning doesn't like
+ISCVERSION= 9.3.1
+
+GNU_CONFIGURE= yes
+#CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+MANCOMPRESSED= yes
+BUILD_WRKSRC= ${WRKSRC}/lib/bind/freebsdportisc/
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+INSTALLS_SHLIB= yes
+
+MAN3= assertions.3 eventlib.3 logging.3 tree.3 bitncmp.3 heap.3 \
+ memcluster.3
+
+.if defined(NO_PROFILE) || defined(NOPROFILE)
+PLIST_SUB+= PROFLIB="@comment "
+.else
+PLIST_SUB+= PROFLIB=""
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/libisc/distinfo b/devel/libisc/distinfo
new file mode 100644
index 000000000000..0a97953a9120
--- /dev/null
+++ b/devel/libisc/distinfo
@@ -0,0 +1,6 @@
+MD5 (bind-9.3.1.tar.gz) = 9ff3204eea27184ea0722f37e43fc95d
+SHA256 (bind-9.3.1.tar.gz) = 9a9411115338d2554f2e99bc676c2e9a381a8d649bf9bd9c0b2ffa2cf74b563c
+SIZE (bind-9.3.1.tar.gz) = 4673603
+MD5 (bind-9.3.1.tar.gz.asc) = b2077443ade50ed778aa78a8014affaa
+SHA256 (bind-9.3.1.tar.gz.asc) = 288cd81c1fc9e8cc2764f1c2464b948f0541af231d615df85803ba430314d803
+SIZE (bind-9.3.1.tar.gz.asc) = 186
diff --git a/devel/libisc/files/patch-Makefile b/devel/libisc/files/patch-Makefile
new file mode 100644
index 000000000000..83d7729c3e4b
--- /dev/null
+++ b/devel/libisc/files/patch-Makefile
@@ -0,0 +1,40 @@
+--- /dev/null Fri Nov 25 23:55:00 2005
++++ lib/bind/freebsdportisc/Makefile Fri Nov 25 23:57:32 2005
+@@ -0,0 +1,37 @@
++# $FreeBSD$
++.PATH: ${.CURDIR}/../isc ${.CURDIR}/../include/isc
++
++LIB= isc
++
++SRCS= assertions.c base64.c bitncmp.c ctl_clnt.c ctl_p.c \
++ ctl_srvr.c ev_connects.c ev_files.c ev_streams.c \
++ ev_timers.c ev_waits.c eventlib.c heap.c hex.c logging.c \
++ memcluster.c movefile.c tree.c
++
++INCS= assertions.h ctl.h dst.h eventlib.h heap.h irpmarshall.h \
++ list.h logging.h memcluster.h misc.h tree.h
++
++SHLIB_MAJOR=1
++
++LIBDIR= ${PREFIX}/lib
++MANDIR= ${PREFIX}/man/man
++INCSDIR= ${PREFIX}/include/isc
++
++MAN= assertions.3 eventlib.3 logging.3 tree.3 \
++ bitncmp.3 heap.3 memcluster.3
++
++# Not elegant, but it works
++.for mp in ${MAN}
++${mp}:
++ ln -s ${.CURDIR}/../isc/${mp:S/.3/.mdoc/} ${mp}
++.endfor
++
++top_builddir = BSD/ports/libisc/work/bind-9.3.1/lib/bind
++
++CFLAGS+= -I${.CURDIR}/../include -I${.CURDIR}/.. \
++ -I${.CURDIR}/../port/freebsd/include
++
++beforeinstall:
++ test -d ${INCSDIR} || mkdir ${INCSDIR}
++
++.include <bsd.lib.mk>
diff --git a/devel/libisc/pkg-descr b/devel/libisc/pkg-descr
new file mode 100644
index 000000000000..7ce6bec8ebad
--- /dev/null
+++ b/devel/libisc/pkg-descr
@@ -0,0 +1,10 @@
+libisc is C utility library which is used as part of part of ISC's bind.
+
+It includes functions for:
+- assertion handling.
+- balanced binary (AVL) trees.
+- bit masks comparison.
+- event based programs.
+- heap-based priority queues.
+- memory handling.
+- program logging.
diff --git a/devel/libisc/pkg-plist b/devel/libisc/pkg-plist
new file mode 100644
index 000000000000..86e5f6347c02
--- /dev/null
+++ b/devel/libisc/pkg-plist
@@ -0,0 +1,16 @@
+lib/libisc.a
+lib/libisc.so
+lib/libisc.so.1
+%%PROFLIB%%lib/libisc_p.a
+include/isc/assertions.h
+include/isc/ctl.h
+include/isc/dst.h
+include/isc/eventlib.h
+include/isc/heap.h
+include/isc/irpmarshall.h
+include/isc/list.h
+include/isc/logging.h
+include/isc/memcluster.h
+include/isc/misc.h
+include/isc/tree.h
+@dirrm include/isc