aboutsummaryrefslogtreecommitdiff
path: root/devel/ding-libs
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2011-10-04 15:29:38 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2011-10-04 15:29:38 +0000
commit89630c74256a9869b33927c69d657b0635076378 (patch)
tree5f8839e1eee42898746d188c34dd5229fc5f4669 /devel/ding-libs
parent0cf909693afeff85499d250096f2ee39e12bf6e0 (diff)
Notes
Diffstat (limited to 'devel/ding-libs')
-rw-r--r--devel/ding-libs/Makefile40
-rw-r--r--devel/ding-libs/distinfo2
-rw-r--r--devel/ding-libs/pkg-descr10
-rw-r--r--devel/ding-libs/pkg-plist41
4 files changed, 93 insertions, 0 deletions
diff --git a/devel/ding-libs/Makefile b/devel/ding-libs/Makefile
new file mode 100644
index 000000000000..4e586f3084ec
--- /dev/null
+++ b/devel/ding-libs/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: ding-libs
+# Date created: Sep 6 2011
+# Whom: Andrew Elble <aweits@rit.edu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ding-libs
+DISTVERSION= 0.1.2
+CATEGORIES= devel
+MASTER_SITES= https://fedorahosted.org/released/${PORTNAME}/
+
+MAINTAINER= aweits@rit.edu
+COMMENT= A collection of useful libraries for developers
+
+LICENSE= GPLv3
+
+GNU_CONFIGURE= yes
+CPPFLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+
+USE_GETTEXT= yes
+USE_GNOME= pkgconfig
+USE_LDCONFIG= yes
+
+CONFIGURE_ENV+= DOXYGEN=""
+
+.if !defined(NOPORTDOCS)
+CONFIGURE_ARGS= --docdir=${DOCSDIR}
+.else
+CONFIGURE_ARGS= --docdir=/dev/null
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' ${WRKSRC}/collection/collection_tools.c \
+ ${WRKSRC}/refarray/ref_array.c
+ @${REINPLACE_CMD} -e 's|if git log -1 &>/dev/null; then|if true; then|g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/devel/ding-libs/distinfo b/devel/ding-libs/distinfo
new file mode 100644
index 000000000000..068b46efb6ad
--- /dev/null
+++ b/devel/ding-libs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ding-libs-0.1.2.tar.gz) = 17f26b36f5af5c2682bdf1a63def88d2b00d7fbd842ae94b57602f645d974077
+SIZE (ding-libs-0.1.2.tar.gz) = 503503
diff --git a/devel/ding-libs/pkg-descr b/devel/ding-libs/pkg-descr
new file mode 100644
index 000000000000..6a357f07972a
--- /dev/null
+++ b/devel/ding-libs/pkg-descr
@@ -0,0 +1,10 @@
+Ding-libs provides utility functions to manipulate filesystem pathnames
+(libpath_utils), a hash table which dynamically resizes to achieve
+optimal storage and access time properties (libdhash), a data type to
+collect data in a hierarchical structure for easy iteration and
+serialization (libcollection), a dynamically growing, reference-counted
+array (libref_array), and a library to process configuration files in
+initialization format (INI) into a library collection data structure
+(libini_config).
+
+WWW: https://fedorahosted.org/sssd/
diff --git a/devel/ding-libs/pkg-plist b/devel/ding-libs/pkg-plist
new file mode 100644
index 000000000000..b74824e51b9a
--- /dev/null
+++ b/devel/ding-libs/pkg-plist
@@ -0,0 +1,41 @@
+include/collection.h
+include/collection_queue.h
+include/collection_stack.h
+include/collection_tools.h
+include/dhash.h
+include/ini_config.h
+include/path_utils.h
+include/ref_array.h
+lib/libcollection.a
+lib/libcollection.la
+lib/libcollection.so
+lib/libcollection.so.2
+lib/libdhash.a
+lib/libdhash.la
+lib/libdhash.so
+lib/libdhash.so.1
+lib/libini_config.a
+lib/libini_config.la
+lib/libini_config.so
+lib/libini_config.so.2
+lib/libpath_utils.a
+lib/libpath_utils.la
+lib/libpath_utils.so
+lib/libpath_utils.so.1
+lib/libref_array.a
+lib/libref_array.la
+lib/libref_array.so
+lib/libref_array.so.1
+libdata/pkgconfig/path_utils.pc
+libdata/pkgconfig/dhash.pc
+libdata/pkgconfig/collection.pc
+libdata/pkgconfig/ref_array.pc
+libdata/pkgconfig/ini_config.pc
+%%PORTDOCS%%%%DOCSDIR%%/README.path_utils
+%%PORTDOCS%%%%DOCSDIR%%/README.dhash
+%%PORTDOCS%%%%DOCSDIR%%/README.ref_array
+%%PORTDOCS%%%%DOCSDIR%%/examples/dhash_test.c
+%%PORTDOCS%%%%DOCSDIR%%/examples/dhash_example.c
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry lib/pkgconfig