summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2010-08-09 23:11:58 +0000
committerseb <seb@pkgsrc.org>2010-08-09 23:11:58 +0000
commit2e8f803a9f267d286da8ec719f770f5d7e107d23 (patch)
treec844b701fcc50a30ca2b61256bd2ffae43e8be19 /devel
parentd09ecdb45bb5f095f67afe4fa4c0b2ac2690d04d (diff)
downloadpkgsrc-2e8f803a9f267d286da8ec719f770f5d7e107d23.tar.gz
Initial import of p5-Dir-Self version 0.10 in the NetBSD Packages
Collection. Perl has two pseudo-constants describing the current location in your source code, __FILE__ and __LINE__. The Perl 5 module Dir::Self adds __DIR__, which expands to the directory your source file is in, as an absolute pathname.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Dir-Self/DESCR4
-rw-r--r--devel/p5-Dir-Self/Makefile20
-rw-r--r--devel/p5-Dir-Self/distinfo5
3 files changed, 29 insertions, 0 deletions
diff --git a/devel/p5-Dir-Self/DESCR b/devel/p5-Dir-Self/DESCR
new file mode 100644
index 00000000000..af1af336101
--- /dev/null
+++ b/devel/p5-Dir-Self/DESCR
@@ -0,0 +1,4 @@
+Perl has two pseudo-constants describing the current location in
+your source code, __FILE__ and __LINE__. The Perl 5 module Dir::Self
+adds __DIR__, which expands to the directory your source file is
+in, as an absolute pathname.
diff --git a/devel/p5-Dir-Self/Makefile b/devel/p5-Dir-Self/Makefile
new file mode 100644
index 00000000000..97fb926e678
--- /dev/null
+++ b/devel/p5-Dir-Self/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/09 23:11:58 seb Exp $
+#
+
+DISTNAME= Dir-Self-0.10
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Dir/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Dir-Self/
+COMMENT= Perl 5 __DIR__ constant for source file's directory
+LICENSE= ${PERL5_LICENSE}
+
+USE_LANGUAGES= # empty
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Dir/Self/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Dir-Self/distinfo b/devel/p5-Dir-Self/distinfo
new file mode 100644
index 00000000000..40647101251
--- /dev/null
+++ b/devel/p5-Dir-Self/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/08/09 23:11:58 seb Exp $
+
+SHA1 (Dir-Self-0.10.tar.gz) = 30df1ac983c06d5eaea6d450701b86f13fc94700
+RMD160 (Dir-Self-0.10.tar.gz) = 221d045cdd063b06e97647c1e443caa379773fd7
+Size (Dir-Self-0.10.tar.gz) = 2390 bytes