import devel/p5-Pod-ToDemo, from maintainer James Wright

Pod::ToDemo allows you to write POD-only modules that serve as
tutorials which can write out demo programs if you invoke them
directly. That is, while SDL::Tutorial is a tutorial on writing
beginner SDL applications with Perl, you can invoke it as:

  $ perl -MSDL::Tutorial=sdl_demo.pl -e 1

and it will write a bare-bones demo program called sdl_demo.pl based
on the tutorial.
This commit is contained in:
sthen 2009-06-02 21:42:42 +00:00
parent 194f68ed8f
commit 0a4ee39c3c
4 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/02 21:42:42 sthen Exp $
COMMENT = Write a demo program from a tutorial POD
MODULES = cpan
DISTNAME = Pod-ToDemo-1.01
CATEGORIES = devel
CPAN_AUTHOR = CHROMATIC
MAINTAINER = James Wright <jamesw@bsdhosting.co.za>
# Perl
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
REGRESS_DEPENDS = ::devel/p5-Test-Exception
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (Pod-ToDemo-1.01.tar.gz) = DlcGD2xBbTJn/tGi+4wYng==
RMD160 (Pod-ToDemo-1.01.tar.gz) = YnnwDN+MBAA+JykjF5nyZwylcWo=
SHA1 (Pod-ToDemo-1.01.tar.gz) = qo7KMYfljRg0sd2pHRwUElgbpp8=
SHA256 (Pod-ToDemo-1.01.tar.gz) = nqszK8jjglqwmDZpGAXmmThoiFl8TNQjfcmQ0si4ddo=
SIZE (Pod-ToDemo-1.01.tar.gz) = 6345

View File

@ -0,0 +1,9 @@
Pod::ToDemo allows you to write POD-only modules that serve as
tutorials which can write out demo programs if you invoke them
directly. That is, while SDL::Tutorial is a tutorial on writing
beginner SDL applications with Perl, you can invoke it as:
$ perl -MSDL::Tutorial=sdl_demo.pl -e 1
and it will write a bare-bones demo program called sdl_demo.pl based
on the tutorial.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/02 21:42:42 sthen Exp $
${P5SITE}/Pod/
${P5SITE}/Pod/ToDemo.pm
@man man/man3p/Pod::ToDemo.3p