summaryrefslogtreecommitdiff
path: root/misc/whohas
diff options
context:
space:
mode:
Diffstat (limited to 'misc/whohas')
-rw-r--r--misc/whohas/DESCR11
-rw-r--r--misc/whohas/Makefile29
-rw-r--r--misc/whohas/PLIST5
-rw-r--r--misc/whohas/distinfo5
4 files changed, 50 insertions, 0 deletions
diff --git a/misc/whohas/DESCR b/misc/whohas/DESCR
new file mode 100644
index 00000000000..ee22614e959
--- /dev/null
+++ b/misc/whohas/DESCR
@@ -0,0 +1,11 @@
+whohas is a command line tool that allows querying several package
+lists at once. whohas is written in Perl and was designed to help
+package maintainers find ebuilds, pkgbuilds and similar package
+definitions from other distributions to learn from. However, it
+can also be used by normal users who want to know:
+
+- Which distribution has packages available for apps upon whom the
+user depends.
+
+- What version of a given package is in use in each distribution,
+or in each release of a distribution (implemented only for Debian).
diff --git a/misc/whohas/Makefile b/misc/whohas/Makefile
new file mode 100644
index 00000000000..53f44d301c3
--- /dev/null
+++ b/misc/whohas/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/09 10:53:10 wiz Exp $
+#
+
+DISTNAME= whohas-0.21
+CATEGORIES= misc
+MASTER_SITES= http://www.philippwesche.org/200811/whohas/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.philippwesche.org/200811/whohas/intro.html
+COMMENT= Query several packaging systems for a program
+
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+= wget-[0-9]*:../../net/wget
+
+USE_LANGUAGES= # none
+
+REPLACE_PERL= whohas
+
+INSTALLATION_DIRS= bin share/doc/whohas
+
+do-build:
+ # nothing
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/whohas ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/intro* ${DESTDIR}${PREFIX}/share/doc/whohas
+
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/whohas/PLIST b/misc/whohas/PLIST
new file mode 100644
index 00000000000..bd289e2ab13
--- /dev/null
+++ b/misc/whohas/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/09 10:53:10 wiz Exp $
+bin/whohas
+share/doc/whohas/intro.html
+share/doc/whohas/intro.txt
+@dirrm share/doc/whohas
diff --git a/misc/whohas/distinfo b/misc/whohas/distinfo
new file mode 100644
index 00000000000..cddaef48895
--- /dev/null
+++ b/misc/whohas/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/09 10:53:10 wiz Exp $
+
+SHA1 (whohas-0.21.tar.gz) = 4830e6b37814d7356dd50d843a0eb6ebccf83fba
+RMD160 (whohas-0.21.tar.gz) = 3e2940894076b7e1e98e7cb86a1c9d0eb438ced7
+Size (whohas-0.21.tar.gz) = 19906 bytes