- Pugs is an implementation of Perl 6, written in Haskell.
It aims to implement the full Perl6 specification, as detailed in the Synopses. - Synopses: [http://dev.perl.org/perl6/synopsis/] Discussed with: tobez, autrijus@autrijus.org PR: 78809 Submitted by: clsung
This commit is contained in:
parent
a3d0dcae3f
commit
9be6101327
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131269
@ -199,6 +199,7 @@
|
||||
SUBDIR += pnetc
|
||||
SUBDIR += pnetlib
|
||||
SUBDIR += ptoc
|
||||
SUBDIR += pugs
|
||||
SUBDIR += py-compiler
|
||||
SUBDIR += py-mx-base
|
||||
SUBDIR += py-prolog
|
||||
|
49
lang/pugs/Makefile
Normal file
49
lang/pugs/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: lang/pugs
|
||||
# Date created: Mon Mar 14 16:01:08 CST 2005
|
||||
# Whom: clsung
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pugs
|
||||
PORTVERSION= 6.0.11
|
||||
CATEGORIES= lang devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= ../../authors/id/A/AU/AUTRIJUS
|
||||
DISTNAME= Perl6-Pugs-${PORTVERSION}
|
||||
|
||||
MAINTAINER= clsung@FreeBSD.org
|
||||
COMMENT= A Perl6 Implementation
|
||||
|
||||
RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
|
||||
${SITE_PERL}/${PERL_ARCH}/Term/ReadLine/Gnu.pm:${PORTSDIR}/devel/p5-ReadLine-Gnu
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Perl6::Pugs.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-configure:
|
||||
@${REINPLACE_CMD} -e '/^INSTALLPRIVLIB/s,${PREFIX}/lib,${PREFIX}/lib/perl6,;' \
|
||||
-e '/^INSTALLARCHLIB/s,${PREFIX}/lib,${PREFIX}/lib/perl6/mach,' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
EXDIR= ${WRKSRC}/examples
|
||||
post-install:
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${CP} -R ${EXDIR}/ ${EXAMPLESDIR}
|
||||
@${FIND} -s ${EXAMPLESDIR} -type f | \
|
||||
${SED} -e 's|^${PREFIX}/||' >> ${TMPPLIST}
|
||||
@${FIND} -d ${EXAMPLESDIR} -type d | \
|
||||
${SED} -e 's|^${PREFIX}/|@dirrm |' >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
.if ${PERL_LEVEL} < 500601
|
||||
IGNORE= This port requires perl 5.6.x or later.
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
lang/pugs/distinfo
Normal file
2
lang/pugs/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Perl6-Pugs-6.0.11.tar.gz) = 0ff4b1f4b93d2288894e975f0e4926a1
|
||||
SIZE (Perl6-Pugs-6.0.11.tar.gz) = 315826
|
5
lang/pugs/pkg-descr
Normal file
5
lang/pugs/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Pugs is an implementation of Perl 6, written in Haskell.
|
||||
It aims to support the full Perl6 specification,
|
||||
as detailed in the Synopses.
|
||||
|
||||
WWW: http://pugscode.org/
|
14
lang/pugs/pkg-plist
Normal file
14
lang/pugs/pkg-plist
Normal file
@ -0,0 +1,14 @@
|
||||
bin/kwid
|
||||
bin/pugs
|
||||
bin/pugscc
|
||||
lib/perl6/Kwid.pm
|
||||
lib/perl6/perlkwid.kwid
|
||||
lib/perl6/Test.pm
|
||||
%%SITE_PERL%%/Perl6/Pugs.pm
|
||||
%%SITE_PERL%%/Pugs/MakeMaker.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Pugs/.packlist
|
||||
@dirrm %%SITE_PERL%%/Pugs
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Pugs
|
||||
@unexec rmdir %D/lib/perl6 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Perl6 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user