summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_online-client/Makefile
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2011-05-16 19:16:22 +0000
committercheusov <cheusov@pkgsrc.org>2011-05-16 19:16:22 +0000
commitf3c56f9551249d0ed0eb17070b816e9ae0d0a134 (patch)
tree0d9096732a50fdc5db7ffdf0c3da3aca39782a0c /pkgtools/pkg_online-client/Makefile
parent2dc82f4457e82817a7987d4bcfffdfb5c15cddd2 (diff)
downloadpkgsrc-f3c56f9551249d0ed0eb17070b816e9ae0d0a134.tar.gz
pkg_online - client/server package searcher for pkgsrc.
Every separate field (PKGPATH, PKGNAME, COMMENT etc.) may be queried separately and multiple fields may be queried too. A lot of search strategies are available. Set of fields and search strategies may very depending on your server configuration. Search in multiple "repositories" is supported too, e.g. search in binary repository or in pkgsrc source tree. Communication protocol is a well known dictionary protocol described in RFC-2229. Server may run dictd or any other dictionary protocol server. For dictd see http://www.dict.org and http://sourceforge.net/projects/dict pkg_online has minimal amount of things specific to pkgsrc and can easily be adapted to any other packageing systems. Of course it is based on pkg_summary-utils ;-)
Diffstat (limited to 'pkgtools/pkg_online-client/Makefile')
-rw-r--r--pkgtools/pkg_online-client/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgtools/pkg_online-client/Makefile b/pkgtools/pkg_online-client/Makefile
new file mode 100644
index 00000000000..f03362f13f5
--- /dev/null
+++ b/pkgtools/pkg_online-client/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/05/16 19:16:49 cheusov Exp $
+#
+
+.include "../../pkgtools/pkg_online-server/Makefile.common"
+
+PKGNAME= ${DISTNAME:C/online/online-client/}
+CATEGORIES= pkgtools
+MAINTAINER= cheusov@tut.by
+COMMENT+= (client tools)
+
+DEPENDS+= dict-client>=1.10.9:../../textproc/dict-client
+DEPENDS+= pkg_summary-utils>=0.49:../../pkgtools/pkg_summary-utils
+DEPENDS+= pipestatus-[0-9]*:../../devel/pipestatus
+DEPENDS+= netcat-[0-9]*:../../net/netcat
+
+BUILD_DEPENDS+= mk-configure>=0.20.0:../../devel/mk-configure
+
+INSTALL_TARGET= install-client install-doc
+
+DESCR_SRC+= ${.CURDIR}/DESCR
+
+DOCDIR= ${PREFIX}/share/doc/pkg_online-client
+EGDIR= ${PREFIX}/share/examples/pkg_online-client
+
+MAKE_ENV+= DOCDIR=${DOCDIR} EGDIR=${EGDIR}
+
+CONF_FILES= ${EGDIR}/pkg_online_client.conf \
+ ${PKG_SYSCONFDIR}/pkg_online_client.conf
+
+MAKE_PROGRAM= mkcmake
+
+.include "../../mk/bsd.pkg.mk"