aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2002-12-28 20:02:06 +0800
committerdemon <demon@FreeBSD.org>2002-12-28 20:02:06 +0800
commit51d284c189cb1f9e1fcf8c5308f7b4938c37098a (patch)
treef0d732eec7aa373dcceba72854e56184a6e2d4e8 /sysutils
parentb78c042c4ac6ee1919e60be754cff207bf320ccc (diff)
downloadfreebsd-ports-gnome-51d284c189cb1f9e1fcf8c5308f7b4938c37098a.tar.gz
freebsd-ports-gnome-51d284c189cb1f9e1fcf8c5308f7b4938c37098a.tar.zst
freebsd-ports-gnome-51d284c189cb1f9e1fcf8c5308f7b4938c37098a.zip
New port: p5-File-Which. Implements `which' functionality as perl module.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/p5-File-Which/Makefile23
-rw-r--r--sysutils/p5-File-Which/distinfo1
-rw-r--r--sysutils/p5-File-Which/pkg-comment1
-rw-r--r--sysutils/p5-File-Which/pkg-descr5
-rw-r--r--sysutils/p5-File-Which/pkg-plist6
6 files changed, 37 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 16a5e5766d2f..76d161581a5d 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -147,6 +147,7 @@
SUBDIR += nwclient
SUBDIR += nwclient602
SUBDIR += obliterate
+ SUBDIR += p5-File-Which
SUBDIR += p5-Filesys-DiskSpace
SUBDIR += p5-LJ-Cache
SUBDIR += p5-LJ-TextMessage
diff --git a/sysutils/p5-File-Which/Makefile b/sysutils/p5-File-Which/Makefile
new file mode 100644
index 000000000000..96cf13a67048
--- /dev/null
+++ b/sysutils/p5-File-Which/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: p5-File-Which
+# Date created: 28 December 2002
+# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= File-Which
+PORTVERSION= 0.05
+CATEGORIES= sysutils perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= File
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= demon@FreeBSD.org
+
+PERL_CONFIGURE= yes
+
+MAN1= pwhich.1
+MAN3= File::Which.3
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/sysutils/p5-File-Which/distinfo b/sysutils/p5-File-Which/distinfo
new file mode 100644
index 000000000000..61988613572d
--- /dev/null
+++ b/sysutils/p5-File-Which/distinfo
@@ -0,0 +1 @@
+MD5 (File-Which-0.05.tar.gz) = bd671a65f770fc0a124095e74c7c8013
diff --git a/sysutils/p5-File-Which/pkg-comment b/sysutils/p5-File-Which/pkg-comment
new file mode 100644
index 000000000000..5827dc9bdba1
--- /dev/null
+++ b/sysutils/p5-File-Which/pkg-comment
@@ -0,0 +1 @@
+Portable implementation of `which' in Perl
diff --git a/sysutils/p5-File-Which/pkg-descr b/sysutils/p5-File-Which/pkg-descr
new file mode 100644
index 000000000000..790501d90fb0
--- /dev/null
+++ b/sysutils/p5-File-Which/pkg-descr
@@ -0,0 +1,5 @@
+File::Which is a portable implementation (in Perl) of `which', and can
+be used to get the absolute filename of an executable program
+installed somewhere in your PATH, or just check for its existence. It
+includes the command-line utility `pwhich' which has the same function
+as `which'.
diff --git a/sysutils/p5-File-Which/pkg-plist b/sysutils/p5-File-Which/pkg-plist
new file mode 100644
index 000000000000..fdcb7da0857c
--- /dev/null
+++ b/sysutils/p5-File-Which/pkg-plist
@@ -0,0 +1,6 @@
+bin/pwhich
+lib/perl5/site_perl/%%PERL_VER%%/File/Which.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Which/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Which
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/File