From a77ac7e3e07d5d3164a7cae947a57f3489e0a8fb Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 22 Jul 2007 15:58:36 +0000 Subject: [PATCH] import p5-ExtUtils-XSBuilder Modules to parse C header files and create XS glue code and documentation out of it. Idealy this allows to "write" an interface to a C library without coding a line. Since no C API is ideal, some adjuments are necessary most of the time. So to use this module you must still be familiar with C and XS programming, but it removes a lot of stupid work and copy & paste from you. Also when the C API changes, most of the time you only have to rerun XSBuilder to get your new Perl API. --- devel/p5-ExtUtils-XSBuilder/Makefile | 20 ++++++++++++++++++++ devel/p5-ExtUtils-XSBuilder/distinfo | 5 +++++ devel/p5-ExtUtils-XSBuilder/pkg/DESCR | 8 ++++++++ devel/p5-ExtUtils-XSBuilder/pkg/PLIST | 21 +++++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 devel/p5-ExtUtils-XSBuilder/Makefile create mode 100644 devel/p5-ExtUtils-XSBuilder/distinfo create mode 100644 devel/p5-ExtUtils-XSBuilder/pkg/DESCR create mode 100644 devel/p5-ExtUtils-XSBuilder/pkg/PLIST diff --git a/devel/p5-ExtUtils-XSBuilder/Makefile b/devel/p5-ExtUtils-XSBuilder/Makefile new file mode 100644 index 00000000000..25939c4e253 --- /dev/null +++ b/devel/p5-ExtUtils-XSBuilder/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/07/22 15:58:36 simon Exp $ + +COMMENT= automatic Perl XS glue code generation + +MODULES= cpan +DISTNAME= ExtUtils-XSBuilder-0.28 +CATEGORIES= devel + +MAINTAINER= Simon Bertrang + +# Perl +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +RUN_DEPENDS= ::devel/p5-Parse-RecDescent \ + ::devel/p5-Tie-IxHash + +.include diff --git a/devel/p5-ExtUtils-XSBuilder/distinfo b/devel/p5-ExtUtils-XSBuilder/distinfo new file mode 100644 index 00000000000..21b7fe874d6 --- /dev/null +++ b/devel/p5-ExtUtils-XSBuilder/distinfo @@ -0,0 +1,5 @@ +MD5 (ExtUtils-XSBuilder-0.28.tar.gz) = HTPd6swBQmoC4jxxwuTNBA== +RMD160 (ExtUtils-XSBuilder-0.28.tar.gz) = czeKHqQV2yF1Pp1V1Bs9HTGFhtg= +SHA1 (ExtUtils-XSBuilder-0.28.tar.gz) = K3I500N7kRF0D2ch9e8Smrd0VsE= +SHA256 (ExtUtils-XSBuilder-0.28.tar.gz) = jM7ThuPVRMXsLes67QVbcuvPwuqabIB9qHxCRScv6Ao= +SIZE (ExtUtils-XSBuilder-0.28.tar.gz) = 42758 diff --git a/devel/p5-ExtUtils-XSBuilder/pkg/DESCR b/devel/p5-ExtUtils-XSBuilder/pkg/DESCR new file mode 100644 index 00000000000..fe9ff6a05f6 --- /dev/null +++ b/devel/p5-ExtUtils-XSBuilder/pkg/DESCR @@ -0,0 +1,8 @@ +Modules to parse C header files and create XS glue code and +documentation out of it. Idealy this allows to "write" an interface to +a C library without coding a line. Since no C API is ideal, some +adjuments are necessary most of the time. So to use this module you +must still be familiar with C and XS programming, but it removes a lot +of stupid work and copy & paste from you. Also when the C API changes, +most of the time you only have to rerun XSBuilder to get your new Perl +API. diff --git a/devel/p5-ExtUtils-XSBuilder/pkg/PLIST b/devel/p5-ExtUtils-XSBuilder/pkg/PLIST new file mode 100644 index 00000000000..82fe569fe29 --- /dev/null +++ b/devel/p5-ExtUtils-XSBuilder/pkg/PLIST @@ -0,0 +1,21 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/22 15:58:36 simon Exp $ +${P5SITE}/ExtUtils/ +${P5SITE}/ExtUtils/XSBuilder/ +${P5SITE}/ExtUtils/XSBuilder.pm +${P5SITE}/ExtUtils/XSBuilder.pod +${P5SITE}/ExtUtils/XSBuilder/C/ +${P5SITE}/ExtUtils/XSBuilder/C/grammar.pm +${P5SITE}/ExtUtils/XSBuilder/CallbackMap.pm +${P5SITE}/ExtUtils/XSBuilder/FunctionMap.pm +${P5SITE}/ExtUtils/XSBuilder/MapUtil.pm +${P5SITE}/ExtUtils/XSBuilder/PODTemplate.pm +${P5SITE}/ExtUtils/XSBuilder/ParseSource.pm +${P5SITE}/ExtUtils/XSBuilder/StructureMap.pm +${P5SITE}/ExtUtils/XSBuilder/TypeMap.pm +${P5SITE}/ExtUtils/XSBuilder/WrapXS.pm +${P5SITE}/ExtUtils/xsbuilder.osc2002.pod +@man man/man3p/ExtUtils::XSBuilder.3p +@man man/man3p/ExtUtils::XSBuilder::PODTemplate.3p +@man man/man3p/ExtUtils::XSBuilder::ParseSource.3p +@man man/man3p/ExtUtils::XSBuilder::WrapXS.3p +@man man/man3p/ExtUtils::xsbuilder.osc2002.3p