import File::Tempdir
This module provide an object interface to tempdir() from File::Temp. This allows to destroy the temporary directory as soon you don't need it anymore using the magic DESTROY() function automatically call be perl when the object is no longer reference. If a value is passed to at object creation, it become only a container allowing to keep same code in your function. This is for an update to another port coming soon. ok simon@ who had a similar version in his tree.
This commit is contained in:
parent
6a6ec5ef05
commit
6116d68ae2
15
devel/p5-File-Tempdir/Makefile
Normal file
15
devel/p5-File-Tempdir/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/06/13 14:34:26 merdely Exp $
|
||||
|
||||
COMMENT= object oriented interface to File::Temp::tempdir()
|
||||
|
||||
MODULES= cpan
|
||||
DISTNAME= File-Tempdir-0.02
|
||||
CATEGORIES= devel
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
devel/p5-File-Tempdir/distinfo
Normal file
5
devel/p5-File-Tempdir/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (File-Tempdir-0.02.tar.gz) = UfYJNDkIgDu8eHdM64HEMQ==
|
||||
RMD160 (File-Tempdir-0.02.tar.gz) = rqzKbq/PZnlCxlyUG5ZAOjhQF/Q=
|
||||
SHA1 (File-Tempdir-0.02.tar.gz) = r84gTDku+pixVmpwJqg17VeGqY4=
|
||||
SHA256 (File-Tempdir-0.02.tar.gz) = 0znQVzWcj3JJzhlY6pYYtQ2faz/2IoGZwxn16xfhO+g=
|
||||
SIZE (File-Tempdir-0.02.tar.gz) = 1768
|
7
devel/p5-File-Tempdir/pkg/DESCR
Normal file
7
devel/p5-File-Tempdir/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
This module provide an object interface to tempdir() from File::Temp.
|
||||
This allows to destroy the temporary directory as soon you don't need it
|
||||
anymore using the magic DESTROY() function automatically call be perl
|
||||
when the object is no longer reference.
|
||||
|
||||
If a value is passed to at object creation, it become only a container
|
||||
allowing to keep same code in your function.
|
4
devel/p5-File-Tempdir/pkg/PLIST
Normal file
4
devel/p5-File-Tempdir/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/06/13 14:34:26 merdely Exp $
|
||||
${P5SITE}/File/
|
||||
${P5SITE}/File/Tempdir.pm
|
||||
@man man/man3p/File::Tempdir.3p
|
Loading…
Reference in New Issue
Block a user