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:
parent
194f68ed8f
commit
0a4ee39c3c
20
devel/p5-Pod-ToDemo/Makefile
Normal file
20
devel/p5-Pod-ToDemo/Makefile
Normal 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>
|
5
devel/p5-Pod-ToDemo/distinfo
Normal file
5
devel/p5-Pod-ToDemo/distinfo
Normal 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
|
9
devel/p5-Pod-ToDemo/pkg/DESCR
Normal file
9
devel/p5-Pod-ToDemo/pkg/DESCR
Normal 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.
|
4
devel/p5-Pod-ToDemo/pkg/PLIST
Normal file
4
devel/p5-Pod-ToDemo/pkg/PLIST
Normal 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
|
Loading…
x
Reference in New Issue
Block a user