aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2009-04-28 18:12:21 +0800
committertobez <tobez@FreeBSD.org>2009-04-28 18:12:21 +0800
commitfd0b7db5497d77b709f24d4b0c33bdb6a2b4df2d (patch)
tree6a8b2df9d91737e34ce66a728e90461ef58a963b /devel
parent792623e1c2c0352321298393d49be964f7f086f6 (diff)
downloadfreebsd-ports-graphics-fd0b7db5497d77b709f24d4b0c33bdb6a2b4df2d.tar.gz
freebsd-ports-graphics-fd0b7db5497d77b709f24d4b0c33bdb6a2b4df2d.tar.zst
freebsd-ports-graphics-fd0b7db5497d77b709f24d4b0c33bdb6a2b4df2d.zip
Add devel/p5-Guard 1.02, a Perl module that provides safe cleanup
blocks.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Guard/Makefile22
-rw-r--r--devel/p5-Guard/distinfo3
-rw-r--r--devel/p5-Guard/pkg-descr5
-rw-r--r--devel/p5-Guard/pkg-plist5
5 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1fb371e8edc..0cdc42c9cec 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1419,6 +1419,7 @@
SUBDIR += p5-Gnome2-GConf
SUBDIR += p5-Google-Checkout
SUBDIR += p5-Gtk2-Spell
+ SUBDIR += p5-Guard
SUBDIR += p5-Hash-AsObject
SUBDIR += p5-Hash-Case
SUBDIR += p5-Hash-Flatten
diff --git a/devel/p5-Guard/Makefile b/devel/p5-Guard/Makefile
new file mode 100644
index 00000000000..fc8a79abed0
--- /dev/null
+++ b/devel/p5-Guard/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: devel/p5-Guard
+# Date created: 28 April 2009
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Guard
+PORTVERSION= 1.02
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/M/ML/MLEHMANN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Safe cleanup blocks
+
+PERL_CONFIGURE= 5.8.0+
+
+MAN3= Guard.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Guard/distinfo b/devel/p5-Guard/distinfo
new file mode 100644
index 00000000000..42b3935e74b
--- /dev/null
+++ b/devel/p5-Guard/distinfo
@@ -0,0 +1,3 @@
+MD5 (Guard-1.02.tar.gz) = c5ffd0db77ead5b8236dd7aad068bdf1
+SHA256 (Guard-1.02.tar.gz) = 5b33625c014ced34658dddea15b216aab52bc7b6fb7ef52ce649865230740322
+SIZE (Guard-1.02.tar.gz) = 6418
diff --git a/devel/p5-Guard/pkg-descr b/devel/p5-Guard/pkg-descr
new file mode 100644
index 00000000000..eca7a149d42
--- /dev/null
+++ b/devel/p5-Guard/pkg-descr
@@ -0,0 +1,5 @@
+This module implements so-called "guards". A guard is something (usually
+an object) that "guards" a resource, ensuring that it is cleaned up when
+expected.
+
+WWW: http://search.cpan.org/dist/Guard/
diff --git a/devel/p5-Guard/pkg-plist b/devel/p5-Guard/pkg-plist
new file mode 100644
index 00000000000..72f21e6364a
--- /dev/null
+++ b/devel/p5-Guard/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Guard.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Guard/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Guard/Guard.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Guard/Guard.so
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Guard