Date: Fri, 14 Dec 2001 18:58:55 +0300 From: skv@protey.ru To: FreeBSD-gnats-submit@freebsd.org Subject: ports/32833: New port: p5-Inline-0.43 Message-ID: <E16Eujf-0002pB-00@3wgraphics.com>
next in thread | raw e-mail | index | archive | help
>Number: 32833 >Category: ports >Synopsis: New port: p5-Inline-0.43 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 14 13:20:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Sergey Skvortsov >Release: FreeBSD 4.4-STABLE i386 >Organization: <Organization of PR author (multiple lines)> >Environment: <Relevant environment information (multiple lines)> >Description: New port: p5-Inline-0.43 Write Perl subroutines in other programming languages >How-To-Repeat: <Code/input/activities to reproduce the problem (multiple lines)> >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Inline # p5-Inline/distinfo # p5-Inline/Makefile # p5-Inline/pkg-comment # p5-Inline/pkg-descr # p5-Inline/pkg-plist # p5-Inline/files # p5-Inline/files/patch-C-Makefile.PL # echo c - p5-Inline mkdir -p p5-Inline > /dev/null 2>&1 echo x - p5-Inline/distinfo sed 's/^X//' >p5-Inline/distinfo << 'END-of-p5-Inline/distinfo' XMD5 (Inline-0.43.tar.gz) = 2defdebaaa5622b8653cb47f66f9d22e END-of-p5-Inline/distinfo echo x - p5-Inline/Makefile sed 's/^X//' >p5-Inline/Makefile << 'END-of-p5-Inline/Makefile' X# New ports collection makefile for: Inline X# Date created: 14 Dec 2001 X# Whom: Sergey Skvortsov <skv@protey.ru> X# X# $FreeBSD$ X# X XPORTNAME= Inline XPORTVERSION= 0.43 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Inline XPKGNAMEPREFIX= p5- X XMAINTAINER= skv@protey.ru X XBUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent XRUN_DEPENDS= ${BUILD_DEPENDS} X XPATCH_STRIP= -p1 XPERL_CONFIGURE= yes X XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} XMAN3= Inline-API.3 Inline-FAQ.3 Inline-Support.3 Inline.3 \ X Inline::C-Cookbook.3 Inline::C.3 X X.include <bsd.port.mk> END-of-p5-Inline/Makefile echo x - p5-Inline/pkg-comment sed 's/^X//' >p5-Inline/pkg-comment << 'END-of-p5-Inline/pkg-comment' XWrite Perl subroutines in other programming languages END-of-p5-Inline/pkg-comment echo x - p5-Inline/pkg-descr sed 's/^X//' >p5-Inline/pkg-descr << 'END-of-p5-Inline/pkg-descr' XThe Inline module allows you to put source code from other programming Xlanguages directly "inline" in a Perl script or module. The code is Xautomatically compiled as needed, and then loaded for immediate access Xfrom Perl. X XInline saves you from the hassle of having to write and compile your own Xglue code using facilities like XS or SWIG. Simply type the code where Xyou want it and run your Perl as normal. All the hairy details are Xhandled for you. The compilation and installation of your code chunks Xall happen transparently; all you will notice is the delay of Xcompilation on the first run. X XThe Inline code only gets compiled the first time you run it (or Xwhenever it is modified) so you only take the performance hit once. Code Xthat is Inlined into distributed modules (like on the CPAN) will get Xcompiled when the module is installed, so the end user will never notice Xthe compilation time. X XWWW: http://search.cpan.org/search?dist=Inline X X-- Sergey Skvortsov Xskv@protey.ru END-of-p5-Inline/pkg-descr echo x - p5-Inline/pkg-plist sed 's/^X//' >p5-Inline/pkg-plist << 'END-of-p5-Inline/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Inline/.packlist Xlib/perl5/site_perl/%%PERL_VER%%/Inline-API.pod Xlib/perl5/site_perl/%%PERL_VER%%/Inline-FAQ.pod Xlib/perl5/site_perl/%%PERL_VER%%/Inline-Support.pod Xlib/perl5/site_perl/%%PERL_VER%%/Inline.pm Xlib/perl5/site_perl/%%PERL_VER%%/Inline.pod Xlib/perl5/site_perl/%%PERL_VER%%/Inline/C-Cookbook.pod Xlib/perl5/site_perl/%%PERL_VER%%/Inline/C.pm Xlib/perl5/site_perl/%%PERL_VER%%/Inline/C.pod Xlib/perl5/site_perl/%%PERL_VER%%/Inline/C/grammar.pm Xlib/perl5/site_perl/%%PERL_VER%%/Inline/Foo.pm Xlib/perl5/site_perl/%%PERL_VER%%/Inline/MakeMaker.pm Xlib/perl5/site_perl/%%PERL_VER%%/Inline/denter.pm Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M01_usage_use.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M02_usage.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M03_usage_bind.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M04_error_nocode.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M05_error_eval.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M06_code_file_failed_open.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M07_code_file_does_not_exist.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M08_no_DATA_source_code.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M09_marker_mismatch.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M10_usage_WITH.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M11_usage_DIRECTORY.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M12_usage_NAME.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M13_usage_VERSION.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M14_usage_Config.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M15_usage_install_directory.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M16_DIRECTORY_mkdir_failed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M17_config_open_failed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M18_error_old_version.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M19_usage_language.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M20_config_creation_failed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M21_opendir_failed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M22_usage_register.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M23_usage_alias_used.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M24_open_for_output_failed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M25_no_WITH_support.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M26_error_version_without_name.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M27_module_not_indexed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M28_error_grokking_path.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M29_error_relative_path.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M30_error_no_obj.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M31_inline_open_failed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M32_error_md5_validation.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M33_error_old_inline_version.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M34_error_incorrect_version.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M35_error_no_object_file.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M36_usage_install_main.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M37_usage_install_auto.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M38_usage_install_name.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M39_usage_install_version.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M40_usage_install_badname.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M41_usage_install_version_mismatch.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M42_usage_loader.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M43_error_bootstrap.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M45_usage_with.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M46_usage_with_bad.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M47_invalid_config_option.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M48_usage_shortcuts.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M49_usage_unsafe.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M51_unused_DATA.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M52_invalid_filter.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M53_mkdir_failed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M54_rmdir_failed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M55_unlink_failed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M56_no_DIRECTORY_found.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M57_wrong_architecture.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M58_site_install.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M59_bad_inline_file.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M60_no_inline_files.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M61_not_parsed.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M62_invalid_config_file.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M63_no_source.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/M64_install_not_c.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/_mkdir.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/_rmtree.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/autosplit.ix Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/check_config_file.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/check_module.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/clean_build.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/create_config_file.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M01_invalid_indent_width.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M02_no_key_end_marker.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M03_no_value_end_marker.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M04_mismatched_quotes.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M05_invalid_key_value.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M06_invalid_indent_level.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/M07_invalid_scalar_value.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/_print_ref.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/autosplit.ix Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_array.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_data.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_hash.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_name.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_ref.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_scalar.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_undef.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter/indent_value.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/env_untaint.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/filter.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/find_temp_dir.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/install.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/maker_utils.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/mkpath.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/obj_untaint.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/print_info.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/read_inline_file.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/receive_code.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/reportbug.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/rmpath.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/with_configs.al Xlib/perl5/site_perl/%%PERL_VER%%/auto/Inline/write_inl_file.al X@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Inline/denter X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Inline 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Inline 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Inline 2>/dev/null || true END-of-p5-Inline/pkg-plist echo c - p5-Inline/files mkdir -p p5-Inline/files > /dev/null 2>&1 echo x - p5-Inline/files/patch-C-Makefile.PL sed 's/^X//' >p5-Inline/files/patch-C-Makefile.PL << 'END-of-p5-Inline/files/patch-C-Makefile.PL' Xdiff -ur Inline-0.43.orig/C/Makefile.PL Inline-0.43/C/Makefile.PL X--- Inline-0.43.orig/C/Makefile.PL Fri Dec 14 18:34:37 2001 X+++ Inline-0.43/C/Makefile.PL Fri Dec 14 18:44:57 2001 X@@ -51,26 +51,9 @@ X # ' X } X X-my $answer = ''; X-my $default = $found ? "y" : "n"; X-while (1) { X- $answer = prompt ('Do you want to install Inline::C?', $default); X- last if $answer =~ /^(y|yes|n|no)$/i; X-} X- X-if ($answer =~ /^(y|yes)$/i) { X WriteMakefile( X NAME => 'Inline::C', X VERSION_FROM => 'C.pm', X clean => {FILES => '_Inline_test/'}, X ) X-} X-else { X- open MF, "> Makefile" or die "Can't open Makefile for output"; X- print MF <<'END'; X-all:: X-test:: X-clean:: X-END X- close MF; X-} X+; END-of-p5-Inline/files/patch-C-Makefile.PL exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16Eujf-0002pB-00>