diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-12-15 17:55:31 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-12-15 17:55:31 +0800 |
commit | 7d9de773b19a8fab71d0c9e0ce8fd790a5403f68 (patch) | |
tree | 3c579b903edf90cbe09599f2ac1fe29ad8511a6f /devel | |
parent | 2807c3bc08d6b0568e9aae4022efe25a87698082 (diff) | |
download | freebsd-ports-gnome-7d9de773b19a8fab71d0c9e0ce8fd790a5403f68.tar.gz freebsd-ports-gnome-7d9de773b19a8fab71d0c9e0ce8fd790a5403f68.tar.zst freebsd-ports-gnome-7d9de773b19a8fab71d0c9e0ce8fd790a5403f68.zip |
add p5-Inline
Write Perl subroutines in other programming languages
PR: 32833
Submitted by: Sergey Skvortsov <skv@protey.ru>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Inline/Makefile | 28 | ||||
-rw-r--r-- | devel/p5-Inline/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Inline/files/patch-C-Makefile.PL | 31 | ||||
-rw-r--r-- | devel/p5-Inline/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-Inline/pkg-descr | 22 | ||||
-rw-r--r-- | devel/p5-Inline/pkg-plist | 118 |
7 files changed, 202 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index c67b3895eba7..d0c04e74e4aa 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -383,6 +383,7 @@ SUBDIR += p5-IPC-Shareable SUBDIR += p5-IPC-SharedCache SUBDIR += p5-Include + SUBDIR += p5-Inline SUBDIR += p5-Ioctl SUBDIR += p5-Locale-Maketext SUBDIR += p5-Locale-PGetText diff --git a/devel/p5-Inline/Makefile b/devel/p5-Inline/Makefile new file mode 100644 index 000000000000..efc80d864437 --- /dev/null +++ b/devel/p5-Inline/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: Inline +# Date created: 14 Dec 2001 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= Inline +PORTVERSION= 0.43 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Inline +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@protey.ru + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent +RUN_DEPENDS= ${BUILD_DEPENDS} + +PATCH_STRIP= -p1 +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Inline-API.3 Inline-FAQ.3 Inline-Support.3 Inline.3 \ + Inline::C-Cookbook.3 Inline::C.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Inline/distinfo b/devel/p5-Inline/distinfo new file mode 100644 index 000000000000..980f9c86682b --- /dev/null +++ b/devel/p5-Inline/distinfo @@ -0,0 +1 @@ +MD5 (Inline-0.43.tar.gz) = 2defdebaaa5622b8653cb47f66f9d22e diff --git a/devel/p5-Inline/files/patch-C-Makefile.PL b/devel/p5-Inline/files/patch-C-Makefile.PL new file mode 100644 index 000000000000..c23362343dad --- /dev/null +++ b/devel/p5-Inline/files/patch-C-Makefile.PL @@ -0,0 +1,31 @@ +diff -ur Inline-0.43.orig/C/Makefile.PL Inline-0.43/C/Makefile.PL +--- Inline-0.43.orig/C/Makefile.PL Fri Dec 14 18:34:37 2001 ++++ Inline-0.43/C/Makefile.PL Fri Dec 14 18:44:57 2001 +@@ -51,26 +51,9 @@ + # ' + } + +-my $answer = ''; +-my $default = $found ? "y" : "n"; +-while (1) { +- $answer = prompt ('Do you want to install Inline::C?', $default); +- last if $answer =~ /^(y|yes|n|no)$/i; +-} +- +-if ($answer =~ /^(y|yes)$/i) { + WriteMakefile( + NAME => 'Inline::C', + VERSION_FROM => 'C.pm', + clean => {FILES => '_Inline_test/'}, + ) +-} +-else { +- open MF, "> Makefile" or die "Can't open Makefile for output"; +- print MF <<'END'; +-all:: +-test:: +-clean:: +-END +- close MF; +-} ++; diff --git a/devel/p5-Inline/pkg-comment b/devel/p5-Inline/pkg-comment new file mode 100644 index 000000000000..6e5b2669e436 --- /dev/null +++ b/devel/p5-Inline/pkg-comment @@ -0,0 +1 @@ +Write Perl subroutines in other programming languages diff --git a/devel/p5-Inline/pkg-descr b/devel/p5-Inline/pkg-descr new file mode 100644 index 000000000000..04dbc56c276e --- /dev/null +++ b/devel/p5-Inline/pkg-descr @@ -0,0 +1,22 @@ +The Inline module allows you to put source code from other programming +languages directly "inline" in a Perl script or module. The code is +automatically compiled as needed, and then loaded for immediate access +from Perl. + +Inline saves you from the hassle of having to write and compile your own +glue code using facilities like XS or SWIG. Simply type the code where +you want it and run your Perl as normal. All the hairy details are +handled for you. The compilation and installation of your code chunks +all happen transparently; all you will notice is the delay of +compilation on the first run. + +The Inline code only gets compiled the first time you run it (or +whenever it is modified) so you only take the performance hit once. Code +that is Inlined into distributed modules (like on the CPAN) will get +compiled when the module is installed, so the end user will never notice +the compilation time. + +WWW: http://search.cpan.org/search?dist=Inline + +-- Sergey Skvortsov +skv@protey.ru diff --git a/devel/p5-Inline/pkg-plist b/devel/p5-Inline/pkg-plist new file mode 100644 index 000000000000..2be01e527066 --- /dev/null +++ b/devel/p5-Inline/pkg-plist @@ -0,0 +1,118 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Inline/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Inline-API.pod +lib/perl5/site_perl/%%PERL_VER%%/Inline-FAQ.pod +lib/perl5/site_perl/%%PERL_VER%%/Inline-Support.pod +lib/perl5/site_perl/%%PERL_VER%%/Inline.pm +lib/perl5/site_perl/%%PERL_VER%%/Inline.pod +lib/perl5/site_perl/%%PERL_VER%%/Inline/C-Cookbook.pod +lib/perl5/site_perl/%%PERL_VER%%/Inline/C.pm +lib/perl5/site_perl/%%PERL_VER%%/Inline/C.pod +lib/perl5/site_perl/%%PERL_VER%%/Inline/C/grammar.pm +lib/perl5/site_perl/%%PERL_VER%%/Inline/Foo.pm +lib/perl5/site_perl/%%PERL_VER%%/Inline/MakeMaker.pm +lib/perl5/site_perl/%%PERL_VER%%/Inline/denter.pm +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M01_usage_use.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M02_usage.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M03_usage_bind.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M04_error_nocode.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M05_error_eval.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M06_code_file_failed_open.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M07_code_file_does_not_exist.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M08_no_DATA_source_code.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M09_marker_mismatch.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M10_usage_WITH.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M11_usage_DIRECTORY.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M12_usage_NAME.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M13_usage_VERSION.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M14_usage_Config.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M15_usage_install_directory.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M16_DIRECTORY_mkdir_failed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M17_config_open_failed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M18_error_old_version.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M19_usage_language.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M20_config_creation_failed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M21_opendir_failed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M22_usage_register.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M23_usage_alias_used.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M24_open_for_output_failed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M25_no_WITH_support.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M26_error_version_without_name.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M27_module_not_indexed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M28_error_grokking_path.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M29_error_relative_path.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M30_error_no_obj.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M31_inline_open_failed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M32_error_md5_validation.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M33_error_old_inline_version.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M34_error_incorrect_version.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M35_error_no_object_file.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M36_usage_install_main.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M37_usage_install_auto.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M38_usage_install_name.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M39_usage_install_version.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M40_usage_install_badname.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M41_usage_install_version_mismatch.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M42_usage_loader.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M43_error_bootstrap.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M45_usage_with.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M46_usage_with_bad.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M47_invalid_config_option.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M48_usage_shortcuts.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M49_usage_unsafe.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M51_unused_DATA.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M52_invalid_filter.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M53_mkdir_failed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M54_rmdir_failed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M55_unlink_failed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M56_no_DIRECTORY_found.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M57_wrong_architecture.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M58_site_install.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M59_bad_inline_file.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M60_no_inline_files.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M61_not_parsed.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M62_invalid_config_file.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M63_no_source.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M64_install_not_c.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/_mkdir.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/_rmtree.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/autosplit.ix +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/check_config_file.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/check_module.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/clean_build.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/create_config_file.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M01_invalid_indent_width.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M02_no_key_end_marker.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M03_no_value_end_marker.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M04_mismatched_quotes.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M05_invalid_key_value.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M06_invalid_indent_level.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M07_invalid_scalar_value.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/_print_ref.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/autosplit.ix +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_array.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_data.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_hash.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_name.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_ref.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_scalar.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_undef.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_value.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/env_untaint.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/filter.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/find_temp_dir.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/install.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/maker_utils.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/mkpath.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/obj_untaint.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/print_info.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/read_inline_file.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/receive_code.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/reportbug.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/rmpath.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/with_configs.al +lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/write_inl_file.al +@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Inline 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Inline 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Inline 2>/dev/null || true |