From 248a6a1354e4d0d43640e9513c0f71e35e7f2cad Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 24 Sep 2008 13:29:14 +0000 Subject: [PATCH] import p5-Convert-Binary-C 0.71 Convert::Binary::C is a preprocessor and parser for C type definitions. It is highly configurable and supports arbitrarily complex data structures. Its object-oriented interface has pack and unpack methods that act as replacements for Perl's pack and unpack and allow to use C types instead of a string representation of the data structure for conversion of binary data from and to Perl's complex data structures. --- converters/p5-Convert-Binary-C/Makefile | 18 ++++++++++++++++++ converters/p5-Convert-Binary-C/distinfo | 5 +++++ converters/p5-Convert-Binary-C/pkg/DESCR | 6 ++++++ converters/p5-Convert-Binary-C/pkg/PLIST | 17 +++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 converters/p5-Convert-Binary-C/Makefile create mode 100644 converters/p5-Convert-Binary-C/distinfo create mode 100644 converters/p5-Convert-Binary-C/pkg/DESCR create mode 100644 converters/p5-Convert-Binary-C/pkg/PLIST diff --git a/converters/p5-Convert-Binary-C/Makefile b/converters/p5-Convert-Binary-C/Makefile new file mode 100644 index 00000000000..edfb10872d3 --- /dev/null +++ b/converters/p5-Convert-Binary-C/Makefile @@ -0,0 +1,18 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/09/24 13:29:14 jasper Exp $ + +SHARED_ONLY = Yes + +COMMENT = binary data conversion using C types + +DISTNAME = Convert-Binary-C-0.71 +CATEGORIES = converters + +# perl +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +MODULES = cpan + +.include diff --git a/converters/p5-Convert-Binary-C/distinfo b/converters/p5-Convert-Binary-C/distinfo new file mode 100644 index 00000000000..5815fb2ec67 --- /dev/null +++ b/converters/p5-Convert-Binary-C/distinfo @@ -0,0 +1,5 @@ +MD5 (Convert-Binary-C-0.71.tar.gz) = ssCVjxQkxLnkp81KT47wvw== +RMD160 (Convert-Binary-C-0.71.tar.gz) = Wgp4pYoHDmF2PAuEilPVTKfcFzY= +SHA1 (Convert-Binary-C-0.71.tar.gz) = KQ7EZvNABaGzzbGbBWncXWrT1hs= +SHA256 (Convert-Binary-C-0.71.tar.gz) = jJR+W7Aauzaepiux20gt77xWHYKiL93xyjmiEFmsAkg= +SIZE (Convert-Binary-C-0.71.tar.gz) = 1557033 diff --git a/converters/p5-Convert-Binary-C/pkg/DESCR b/converters/p5-Convert-Binary-C/pkg/DESCR new file mode 100644 index 00000000000..dd182d88be0 --- /dev/null +++ b/converters/p5-Convert-Binary-C/pkg/DESCR @@ -0,0 +1,6 @@ +Convert::Binary::C is a preprocessor and parser for C type definitions. +It is highly configurable and supports arbitrarily complex data +structures. Its object-oriented interface has pack and unpack methods +that act as replacements for Perl's pack and unpack and allow to use C +types instead of a string representation of the data structure for +conversion of binary data from and to Perl's complex data structures. diff --git a/converters/p5-Convert-Binary-C/pkg/PLIST b/converters/p5-Convert-Binary-C/pkg/PLIST new file mode 100644 index 00000000000..85be86b5fd0 --- /dev/null +++ b/converters/p5-Convert-Binary-C/pkg/PLIST @@ -0,0 +1,17 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/09/24 13:29:14 jasper Exp $ +bin/ccconfig +${P5ARCH}/ +${P5ARCH}/Convert/ +${P5ARCH}/Convert/Binary/ +${P5ARCH}/Convert/Binary/C/ +${P5ARCH}/Convert/Binary/C.pm +${P5ARCH}/Convert/Binary/C/Cached.pm +${P5ARCH}/auto/ +${P5ARCH}/auto/Convert/ +${P5ARCH}/auto/Convert/Binary/ +${P5ARCH}/auto/Convert/Binary/C/ +${P5ARCH}/auto/Convert/Binary/C/C.bs +${P5ARCH}/auto/Convert/Binary/C/C.so +@man man/man1/ccconfig.1 +@man man/man3p/Convert::Binary::C.3p +@man man/man3p/Convert::Binary::C::Cached.3p