aboutsummaryrefslogtreecommitdiff
path: root/lang/rakudo
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2010-08-02 12:51:04 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2010-08-02 12:51:04 +0000
commit8f8979066c6ad8eb4ab908e84ad48ea1f3d21f64 (patch)
treec1e25199a401d269eef0a08a3ffaec413dbf69a9 /lang/rakudo
parent16651ebfc91341512ed4d170e04eaa8042c47bdf (diff)
downloadports-8f8979066c6ad8eb4ab908e84ad48ea1f3d21f64.tar.gz
ports-8f8979066c6ad8eb4ab908e84ad48ea1f3d21f64.zip
Add more documentation.
PR: ports/149107 Submitted by: Aliaksandr Zahatski <zahatski@gmail.com>
Notes
Notes: svn path=/head/; revision=258631
Diffstat (limited to 'lang/rakudo')
-rw-r--r--lang/rakudo/Makefile8
-rw-r--r--lang/rakudo/pkg-plist16
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