diff options
author | skv <skv@FreeBSD.org> | 2010-08-02 20:51:04 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2010-08-02 20:51:04 +0800 |
commit | 1f197b39a370b9c16d33013fe59dd06081c669cd (patch) | |
tree | 28baf4bb66accc1567458c092ab27455a1b8592a /lang | |
parent | 0b740d950dee6d17c9f12ced7a61b857af633061 (diff) | |
download | freebsd-ports-gnome-1f197b39a370b9c16d33013fe59dd06081c669cd.tar.gz freebsd-ports-gnome-1f197b39a370b9c16d33013fe59dd06081c669cd.tar.zst freebsd-ports-gnome-1f197b39a370b9c16d33013fe59dd06081c669cd.zip |
Add more documentation.
PR: ports/149107
Submitted by: Aliaksandr Zahatski <zahatski@gmail.com>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/rakudo/Makefile | 8 | ||||
-rw-r--r-- | lang/rakudo/pkg-plist | 16 |
2 files changed, 16 insertions, 8 deletions
diff --git a/lang/rakudo/Makefile b/lang/rakudo/Makefile index 95ee31f3c43c..c6d28c99606b 100644 --- a/lang/rakudo/Makefile +++ b/lang/rakudo/Makefile @@ -7,7 +7,7 @@ PORTNAME= rakudo PORTVERSION= 2010.07 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= lang MASTER_SITES= http://cloud.github.com/downloads/rakudo/star/ @@ -40,11 +40,17 @@ CONFIGURE_SCRIPT= Configure.pl CONFIGURE_ARGS= --parrot-config=${PARROTCONFIG} PLIST_SUB+= PARROT_VERSION=${PARROT_VERSION} +EXTRA_DOCS= UsingPerl6-draft.pdf cheatsheet.txt + do-configure: cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} post-install: ${INSTALL_MAN} ${WRKSRC}/perl6.1 ${MAN1PREFIX}/man/man1/perl6.1 +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${EXTRA_DOCS:S!^!${WRKSRC}/docs/!} ${DOCSDIR}/ +.endif test: build ${MAKE} -C ${WRKSRC} test diff --git a/lang/rakudo/pkg-plist b/lang/rakudo/pkg-plist index a73fdf4e52e3..6aa555b9828a 100644 --- a/lang/rakudo/pkg-plist +++ b/lang/rakudo/pkg-plist @@ -83,13 +83,15 @@ lib/parrot/%%PARROT_VERSION%%/languages/perl6/lib/YAML.pm lib/parrot/%%PARROT_VERSION%%/languages/perl6/lib/YAML/Dumper.pir lib/parrot/%%PARROT_VERSION%%/languages/perl6/lib/YAML/Dumper.pm lib/parrot/%%PARROT_VERSION%%/languages/perl6/perl6.pbc -share/doc/rakudo/CREDITS -share/doc/rakudo/ChangeLog -share/doc/rakudo/LICENSE -share/doc/rakudo/README -share/doc/rakudo/ROADMAP -share/doc/rakudo/S11-Modules-proposal.pod -@dirrm share/doc/rakudo +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/ROADMAP +%%PORTDOCS%%%%DOCSDIR%%/S11-Modules-proposal.pod +%%PORTDOCS%%%%DOCSDIR%%/UsingPerl6-draft.pdf +%%PORTDOCS%%%%DOCSDIR%%/cheatsheet.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm lib/parrot/%%PARROT_VERSION%%/languages/perl6/lib/YAML @dirrm lib/parrot/%%PARROT_VERSION%%/languages/perl6/lib/XML @dirrm lib/parrot/%%PARROT_VERSION%%/languages/perl6/lib/Test |