From 347ba5fa1561304b345787f6fae1e63c6d4e1702 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Mon, 27 Aug 2012 14:34:19 +0000 Subject: [PATCH] Import libdshconfig-0.20.9. Library for parsing dsh-style configuration files. from rpe with some tweaks ok sthen@ --- devel/libdshconfig/Makefile | 24 ++++++++++++++++++++++++ devel/libdshconfig/distinfo | 2 ++ devel/libdshconfig/pkg/DESCR | 1 + devel/libdshconfig/pkg/PFRAG.shared | 2 ++ devel/libdshconfig/pkg/PLIST | 5 +++++ 5 files changed, 34 insertions(+) create mode 100644 devel/libdshconfig/Makefile create mode 100644 devel/libdshconfig/distinfo create mode 100644 devel/libdshconfig/pkg/DESCR create mode 100644 devel/libdshconfig/pkg/PFRAG.shared create mode 100644 devel/libdshconfig/pkg/PLIST diff --git a/devel/libdshconfig/Makefile b/devel/libdshconfig/Makefile new file mode 100644 index 00000000000..785fcea97b0 --- /dev/null +++ b/devel/libdshconfig/Makefile @@ -0,0 +1,24 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2012/08/27 14:34:19 ajacoutot Exp $ + +COMMENT= library for parsing dsh-style configuration files + +DISTNAME= libdshconfig-0.20.9 +CATEGORIES= devel + +SHARED_LIBS+= dshconfig 0.0 # 1.0 + +HOMEPAGE= http://www.netfort.gr.jp/~dancer/software/ +MASTER_SITES= ${HOMEPAGE}downloads/ + +# GPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +USE_LIBTOOL= Yes + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS= ${CONFIGURE_SHARED} + +.include diff --git a/devel/libdshconfig/distinfo b/devel/libdshconfig/distinfo new file mode 100644 index 00000000000..15dbf14031f --- /dev/null +++ b/devel/libdshconfig/distinfo @@ -0,0 +1,2 @@ +SHA256 (libdshconfig-0.20.9.tar.gz) = YLJnVu7tUY56i6nWlz3UgjOBq8ihybwYEiXMSpgKtjk= +SIZE (libdshconfig-0.20.9.tar.gz) = 295513 diff --git a/devel/libdshconfig/pkg/DESCR b/devel/libdshconfig/pkg/DESCR new file mode 100644 index 00000000000..2f2e68920af --- /dev/null +++ b/devel/libdshconfig/pkg/DESCR @@ -0,0 +1 @@ +Library for parsing dsh-style configuration files. diff --git a/devel/libdshconfig/pkg/PFRAG.shared b/devel/libdshconfig/pkg/PFRAG.shared new file mode 100644 index 00000000000..8b01df4176c --- /dev/null +++ b/devel/libdshconfig/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2012/08/27 14:34:19 ajacoutot Exp $ +@lib lib/libdshconfig.so.${LIBdshconfig_VERSION} diff --git a/devel/libdshconfig/pkg/PLIST b/devel/libdshconfig/pkg/PLIST new file mode 100644 index 00000000000..994188121f3 --- /dev/null +++ b/devel/libdshconfig/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2012/08/27 14:34:19 ajacoutot Exp $ +%%SHARED%% +include/libdshconfig.h +lib/libdshconfig.a +lib/libdshconfig.la