2005-03-15 03:05:04 +00:00
|
|
|
# New ports collection makefile for: lang/pugs
|
|
|
|
# Date created: Mon Mar 14 16:01:08 CST 2005
|
|
|
|
# Whom: clsung
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pugs
|
2008-08-27 01:30:35 +00:00
|
|
|
PORTVERSION= 6.28.0
|
2005-03-15 03:05:04 +00:00
|
|
|
CATEGORIES= lang devel perl5
|
2008-08-27 01:30:35 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= clsung
|
|
|
|
DISTNAME= Perl6-Pugs-${PORTVERSION}.r22035
|
2005-03-15 03:05:04 +00:00
|
|
|
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
|
|
COMMENT= A Perl6 Implementation
|
|
|
|
|
|
|
|
RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
|
2006-12-27 03:03:27 +00:00
|
|
|
${SITE_PERL}/${PERL_ARCH}/Term/ReadLine/Gnu.pm:${PORTSDIR}/devel/p5-ReadLine-Gnu \
|
|
|
|
${SITE_PERL}/Pugs/Emitter/Perl6/Perl5.pm:${PORTSDIR}/lang/p5-v6 \
|
2008-08-27 01:30:35 +00:00
|
|
|
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
|
2006-12-27 03:03:27 +00:00
|
|
|
p5-Data-Bind>=0.28:${PORTSDIR}/devel/p5-Data-Bind \
|
|
|
|
p5-Devel-Caller>=0.10:${PORTSDIR}/devel/p5-Devel-Caller \
|
|
|
|
p5-Module-Compile>=0.17:${PORTSDIR}/devel/p5-Module-Compile \
|
|
|
|
p5-Moose>=0.10:${PORTSDIR}/devel/p5-Moose \
|
2008-08-27 01:30:35 +00:00
|
|
|
p5-File-Slurp>0:${PORTSDIR}/devel/p5-File-Slurp \
|
2006-12-27 03:03:27 +00:00
|
|
|
p5-Pugs-Compiler-Rule>=0.17:${PORTSDIR}/lang/p5-Pugs-Compiler-Rule \
|
|
|
|
p5-Sub-Multi>=0:${PORTSDIR}/devel/p5-Sub-Multi
|
2005-03-15 03:05:04 +00:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
|
|
|
|
2009-09-16 20:34:11 +00:00
|
|
|
BROKEN= does not build
|
|
|
|
|
2005-03-15 03:05:04 +00:00
|
|
|
PERL_CONFIGURE= yes
|
2008-08-27 01:30:35 +00:00
|
|
|
WRKSRC= ${WRKDIR}/Perl6-Pugs-${PORTVERSION}
|
2005-03-15 03:05:04 +00:00
|
|
|
|
2008-08-27 01:30:35 +00:00
|
|
|
MAN3= Inline::Pugs.3 \
|
|
|
|
Perl6::API.3 \
|
|
|
|
Perl6::API::Math::Basic.3 \
|
|
|
|
Perl6::API::Scalar.3 \
|
|
|
|
Perl6::API::macros.3 \
|
|
|
|
Perl6::Doc.3 \
|
|
|
|
Perl6::FAQ::Capture.3 \
|
|
|
|
Perl6::FAQ::FUD.3 \
|
|
|
|
Perl6::Overview.3 \
|
|
|
|
Perl6::Overview::Control.3 \
|
|
|
|
Perl6::Overview::Data.3 \
|
|
|
|
Perl6::Overview::File.3 \
|
|
|
|
Perl6::Overview::Functions.3 \
|
|
|
|
Perl6::Overview::Object.3 \
|
|
|
|
Perl6::Overview::Operator.3 \
|
|
|
|
Perl6::Overview::Reduce.3 \
|
|
|
|
Perl6::Overview::Rule.3 \
|
|
|
|
Perl6::Overview::Smartmatch.3 \
|
|
|
|
Perl6::Overview::Subroutine.3 \
|
|
|
|
Perl6::Overview::Variable.3 \
|
|
|
|
Perl6::Perl5::Differences.3 \
|
|
|
|
Perl6::Perl5::Docfinder.3 \
|
|
|
|
Perl6::Pugs.3 \
|
|
|
|
Perl6::Spec.3 \
|
|
|
|
Perl6::Spec::Block.3 \
|
|
|
|
Perl6::Spec::CPAN.3 \
|
|
|
|
Perl6::Spec::Concurrency.3 \
|
|
|
|
Perl6::Spec::Documentation.3 \
|
|
|
|
Perl6::Spec::Functions.3 \
|
|
|
|
Perl6::Spec::IO.3 \
|
|
|
|
Perl6::Spec::Module.3 \
|
|
|
|
Perl6::Spec::Object.3 \
|
|
|
|
Perl6::Spec::Operator.3 \
|
|
|
|
Perl6::Spec::Overload.3 \
|
|
|
|
Perl6::Spec::Overview.3 \
|
|
|
|
Perl6::Spec::Package.3 \
|
|
|
|
Perl6::Spec::Rule.3 \
|
|
|
|
Perl6::Spec::Structure.3 \
|
|
|
|
Perl6::Spec::Subroutine.3 \
|
|
|
|
Perl6::Spec::Syntax.3 \
|
|
|
|
Perl6::Tutorial.3
|
2007-03-13 05:13:44 +00:00
|
|
|
|
2005-03-15 03:05:04 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-configure:
|
2007-08-04 11:41:30 +00:00
|
|
|
@${REINPLACE_CMD} -e '/^INSTALLPRIVLIB/s,${PREFIX}/lib,${PREFIX}/lib/perl6,;' \
|
|
|
|
-e '/^INSTALLARCHLIB/s,${PREFIX}/lib,${PREFIX}/lib/perl6/mach,' \
|
2005-03-15 03:05:04 +00:00
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
EXDIR= ${WRKSRC}/examples
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${CP} -R ${EXDIR}/ ${EXAMPLESDIR}
|
|
|
|
@${FIND} -s ${EXAMPLESDIR} -type f | \
|
2007-08-04 11:41:30 +00:00
|
|
|
${SED} -e 's|^${PREFIX}/||' >> ${TMPPLIST}
|
2005-03-15 03:05:04 +00:00
|
|
|
@${FIND} -d ${EXAMPLESDIR} -type d | \
|
2007-08-04 11:41:30 +00:00
|
|
|
${SED} -e 's|^${PREFIX}/|@dirrm |' >> ${TMPPLIST}
|
2005-03-15 03:05:04 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|