Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2006 17:42:30 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101019: [NEW PORT] devel/p5-AI-Prolog: Perl extension for logic programming
Message-ID:  <20060729094230.71FE57E9C2@FreeBSD.csie.nctu.edu.tw>
Resent-Message-ID: <200607290950.k6T9oE4k082109@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101019
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-AI-Prolog: Perl extension for logic programming
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 29 09:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.nctu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #9: Thu May 11 14:31:45 CST 2006
>Description:
AI::Prolog is merely a convenient wrapper for a pure Perl Prolog compiler.
Regrettably, at the current time, this requires you to know Prolog. That will
change in the future.

WWW: http://search.cpan.org/dist/AI-Prolog/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-AI-Prolog-0.734.shar begins here ---
# 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-AI-Prolog
#	p5-AI-Prolog/Makefile
#	p5-AI-Prolog/distinfo
#	p5-AI-Prolog/pkg-descr
#	p5-AI-Prolog/pkg-plist
#	p5-AI-Prolog/files
#	p5-AI-Prolog/files/patch-Makefile.PL
#
echo c - p5-AI-Prolog
mkdir -p p5-AI-Prolog > /dev/null 2>&1
echo x - p5-AI-Prolog/Makefile
sed 's/^X//' >p5-AI-Prolog/Makefile << 'END-of-p5-AI-Prolog/Makefile'
X# ex:ts=8
X# Ports collection makefile for:	AI::Prolog
X# Date created:			Jul 29, 2006
X# Whom:				ijliao
X#
X# $FreeBSD$
X#
X
XPORTNAME=	AI-Prolog
XPORTVERSION=	0.734
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	AI
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	Perl extension for logic programming
X
XBUILD_DEPENDS=	p5-aliased>=0.11:${PORTSDIR}/devel/p5-aliased \
X		p5-Clone>=0.15:${PORTSDIR}/devel/p5-Clone \
X		p5-Exporter-Tidy>=0.06:${PORTSDIR}/devel/p5-Exporter-Tidy \
X		p5-Hash-AsObject>=0.05:${PORTSDIR}/devel/p5-Hash-AsObject \
X		p5-Regexp-Common>=2.119:${PORTSDIR}/textproc/p5-Regexp-Common \
X		p5-Test-Differences>=0.47:${PORTSDIR}/devel/p5-Test-Differences \
X		p5-Test-Exception>=0.20:${PORTSDIR}/devel/p5-Test-Exception \
X		p5-Test-MockModule>=0.04:${PORTSDIR}/devel/p5-Test-MockModule \
X		p5-Test-Warn>=0.08:${PORTSDIR}/devel/p5-Test-Warn \
X		p5-Text-Balanced>=1.95:${PORTSDIR}/textproc/p5-Text-Balanced \
X		p5-Text-Quote>=0.03:${PORTSDIR}/textproc/p5-Text-Quote \
X		p5-Term-ReadKey>=2.21:${PORTSDIR}/devel/p5-Term-ReadKey
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN1=	aiprolog.1
XMAN3=	AI::Prolog.3 \
X	AI::Prolog::Article.3 \
X	AI::Prolog::Builtins.3 \
X	AI::Prolog::ChoicePoint.3 \
X	AI::Prolog::Cookbook.3 \
X	AI::Prolog::Engine.3 \
X	AI::Prolog::Engine::Primitives.3 \
X	AI::Prolog::Introduction.3 \
X	AI::Prolog::KnowledgeBase.3 \
X	AI::Prolog::Parser.3 \
X	AI::Prolog::Parser::PreProcessor.3 \
X	AI::Prolog::Parser::PreProcessor::Math.3 \
X	AI::Prolog::Term.3 \
X	AI::Prolog::Term::Cut.3 \
X	AI::Prolog::Term::Number.3 \
X	AI::Prolog::TermList.3 \
X	AI::Prolog::TermList::Clause.3 \
X	AI::Prolog::TermList::Primitive.3 \
X	AI::Prolog::TermList::Step.3
X
X.include <bsd.port.mk>
END-of-p5-AI-Prolog/Makefile
echo x - p5-AI-Prolog/distinfo
sed 's/^X//' >p5-AI-Prolog/distinfo << 'END-of-p5-AI-Prolog/distinfo'
XMD5 (AI-Prolog-0.734.tar.gz) = 7d4c7c50efbd6076f07cb9d4c39cfafc
XSHA256 (AI-Prolog-0.734.tar.gz) = eb096f48e65e84e980925a450c8f71839360b601809e712d3737315225827d23
XSIZE (AI-Prolog-0.734.tar.gz) = 67939
END-of-p5-AI-Prolog/distinfo
echo x - p5-AI-Prolog/pkg-descr
sed 's/^X//' >p5-AI-Prolog/pkg-descr << 'END-of-p5-AI-Prolog/pkg-descr'
XAI::Prolog is merely a convenient wrapper for a pure Perl Prolog compiler.
XRegrettably, at the current time, this requires you to know Prolog. That will
Xchange in the future.
X
XWWW: http://search.cpan.org/dist/AI-Prolog/
END-of-p5-AI-Prolog/pkg-descr
echo x - p5-AI-Prolog/pkg-plist
sed 's/^X//' >p5-AI-Prolog/pkg-plist << 'END-of-p5-AI-Prolog/pkg-plist'
Xbin/aiprolog
X%%SITE_PERL%%/AI/Prolog/Introduction.pod
X%%SITE_PERL%%/AI/Prolog/Article.pod
X%%SITE_PERL%%/AI/Prolog/TermList.pm
X%%SITE_PERL%%/AI/Prolog/Parser.pm
X%%SITE_PERL%%/AI/Prolog/Builtins.pod
X%%SITE_PERL%%/AI/Prolog/ChoicePoint.pm
X%%SITE_PERL%%/AI/Prolog/Cookbook.pod
X%%SITE_PERL%%/AI/Prolog/Term.pm
X%%SITE_PERL%%/AI/Prolog/Engine.pm
X%%SITE_PERL%%/AI/Prolog/KnowledgeBase.pm
X%%SITE_PERL%%/AI/Prolog/Parser/PreProcessor.pm
X%%SITE_PERL%%/AI/Prolog/Parser/PreProcessor/Math.pm
X%%SITE_PERL%%/AI/Prolog/TermList/Primitive.pm
X%%SITE_PERL%%/AI/Prolog/TermList/Clause.pm
X%%SITE_PERL%%/AI/Prolog/TermList/Step.pm
X%%SITE_PERL%%/AI/Prolog/Engine/Primitives.pm
X%%SITE_PERL%%/AI/Prolog/Term/Cut.pm
X%%SITE_PERL%%/AI/Prolog/Term/Number.pm
X%%SITE_PERL%%/AI/Prolog.pm
X@dirrm %%SITE_PERL%%/AI/Prolog/TermList
X@dirrm %%SITE_PERL%%/AI/Prolog/Term
X@dirrm %%SITE_PERL%%/AI/Prolog/Parser/PreProcessor
X@dirrm %%SITE_PERL%%/AI/Prolog/Parser
X@dirrm %%SITE_PERL%%/AI/Prolog/Engine
X@dirrm %%SITE_PERL%%/AI/Prolog
X@dirrmtry %%SITE_PERL%%/AI
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/AI/Prolog/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/AI/Prolog
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/AI
END-of-p5-AI-Prolog/pkg-plist
echo c - p5-AI-Prolog/files
mkdir -p p5-AI-Prolog/files > /dev/null 2>&1
echo x - p5-AI-Prolog/files/patch-Makefile.PL
sed 's/^X//' >p5-AI-Prolog/files/patch-Makefile.PL << 'END-of-p5-AI-Prolog/files/patch-Makefile.PL'
X--- Makefile.PL.orig	Sat Jul 29 17:27:55 2006
X+++ Makefile.PL	Sat Jul 29 17:28:17 2006
X@@ -2,20 +2,20 @@
X use ExtUtils::MakeMaker qw/WriteMakefile prompt/;
X 
X my (@program, @extra_modules);
X-print <<"END_NOTE";
X+#print <<"END_NOTE";
X+#
X+#The 'aiprolog' shell is optional.  If you choose to install it, Term::ReadLine
X+#and Term::ReadKey will be added to your list of prerequisites.
X+#
X+#END_NOTE
X 
X-The 'aiprolog' shell is optional.  If you choose to install it, Term::ReadLine
X-and Term::ReadKey will be added to your list of prerequisites.
X-
X-END_NOTE
X-
X-if (prompt("Do you wish to install the 'aiprolog' shell?", "y") =~ /^[Yy]/) {
X+#if (prompt("Do you wish to install the 'aiprolog' shell?", "y") =~ /^[Yy]/) {
X     @program       = (EXE_FILES => [ "bin/aiprolog" ]);
X     @extra_modules = (
X         'Term::ReadLine' => 1.01,
X         'Term::ReadKey'  => 2.21,
X     );
X-}
X+#}
X 
X WriteMakefile(
X     'NAME'		    => 'AI::Prolog',
END-of-p5-AI-Prolog/files/patch-Makefile.PL
exit
--- p5-AI-Prolog-0.734.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060729094230.71FE57E9C2>