pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_select Initial import of pkg_select-20050...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac8f564699da
branches:  trunk
changeset: 492197:ac8f564699da
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Apr 06 15:20:42 2005 +0000

description:
Initial import of pkg_select-20050403 from pkgsrc-wip (this package
seems to be really useful now, and it's ready to be on pkgsrc).

pkg_select will display a curses file browser for the pkg system. You can
browse pkgsrc and gather various informations about packages, like avail-
able version, installed version, comment and homepage. A simple paging
system lets you read information files.  You can browse both installed
and uninstalled packages, as well as dependencies list and perform vari-
ous administrative tasks to them. A package finder system helps you to
easily locate a package by its name.  pkg_select can handle either source
or binary installations when pkgsrc is installed on the local system, or
binary only when using the pkgsrc-over-ftp feature.

If no pkgsrc is installed, pkg_select offers ability fo fetch it, either
by FTP or CVS. It is also possible to update an existing pkgsrc via the
interface.

pkg_select user interface is quite self explainatory, every available
shortcut is shown and annotated.

diffstat:

 pkgtools/pkg_select/DESCR    |  16 +++++++++++++++
 pkgtools/pkg_select/Makefile |  45 ++++++++++++++++++++++++++++++++++++++++++++
 pkgtools/pkg_select/PLIST    |   8 +++++++
 pkgtools/pkg_select/distinfo |   5 ++++
 4 files changed, 74 insertions(+), 0 deletions(-)

diffs (90 lines):

diff -r 57acd81d584f -r ac8f564699da pkgtools/pkg_select/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_select/DESCR Wed Apr 06 15:20:42 2005 +0000
@@ -0,0 +1,16 @@
+pkg_select will display a curses file browser for the pkg system. You can
+browse pkgsrc and gather various informations about packages, like avail-
+able version, installed version, comment and homepage. A simple paging
+system lets you read information files.  You can browse both installed
+and uninstalled packages, as well as dependencies list and perform vari-
+ous administrative tasks to them. A package finder system helps you to
+easily locate a package by its name.  pkg_select can handle either source
+or binary installations when pkgsrc is installed on the local system, or
+binary only when using the pkgsrc-over-ftp feature.
+
+If no pkgsrc is installed, pkg_select offers ability fo fetch it, either
+by FTP or CVS. It is also possible to update an existing pkgsrc via the
+interface.
+
+pkg_select user interface is quite self explainatory, every available
+shortcut is shown and annotated.
diff -r 57acd81d584f -r ac8f564699da pkgtools/pkg_select/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_select/Makefile      Wed Apr 06 15:20:42 2005 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/04/06 15:20:42 xtraeme Exp $
+#
+
+DISTNAME=      pkg_select-20050403
+CATEGORIES=    pkgtools
+MASTER_SITES=  http://imil.net/NetBSD/
+
+MAINTAINER=    imil%gcu.info@localhost
+COMMENT=       Curses based pkgsrc system browser / manager
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+ONLY_FOR_PLATFORM=      NetBSD-*-* FreeBSD-*-* Darwin-*-*
+
+WRKSRC=                ${WRKDIR}/pkg_select
+NO_CONFIGURE=  yes
+
+INSTALLATION_DIRS=     bin man/man1
+
+PKG_DBDIR?=    /var/db/pkg
+
+EXAMPLEDIR=    ${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES=    ${EXAMPLEDIR}/${PKGBASE}.conf.example   \
+                       ${PKG_SYSCONFDIR}/${PKGBASE}.conf
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/pkg_select ${PREFIX}/bin
+       ${INSTALL_DATA_DIR} ${EXAMPLEDIR}
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/pkg_select
+       ${INSTALL_DATA} ${WRKSRC}/${PKGBASE}.conf.example ${EXAMPLEDIR}
+       ${INSTALL_DATA} ${WRKSRC}/mirrors.cvs ${PREFIX}/share/pkg_select
+       ${INSTALL_DATA} ${WRKSRC}/mirrors.ftp ${PREFIX}/share/pkg_select
+       ${INSTALL_MAN} ${WRKSRC}/pkg_select.1 ${PREFIX}/man/man1
+
+SUBST_CLASSES=         path
+SUBST_STAGE.path=      post-patch
+SUBST_FILES.path=      Makefile pkg_select.1
+SUBST_SED.path=                -e "s|/usr/pkgsrc|${PKGSRCDIR}|g" \
+                       -e "s|/usr/pkg|${PREFIX}|g" \
+                       -e "s|/var/db/pkg|${PKG_DBDIR}|g" \
+                       -e "s|/usr/bin/make|${MAKE}|g"
+SUBST_MESSAGE.path=     "Adjusting path."
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 57acd81d584f -r ac8f564699da pkgtools/pkg_select/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_select/PLIST Wed Apr 06 15:20:42 2005 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/06 15:20:42 xtraeme Exp $
+bin/pkg_select
+man/man1/pkg_select.1
+share/examples/pkg_select/pkg_select.conf.example
+share/pkg_select/mirrors.cvs
+share/pkg_select/mirrors.ftp
+@dirrm share/pkg_select
+@dirrm share/examples/pkg_select
diff -r 57acd81d584f -r ac8f564699da pkgtools/pkg_select/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_select/distinfo      Wed Apr 06 15:20:42 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/04/06 15:20:42 xtraeme Exp $
+
+SHA1 (pkg_select-20050403.tar.gz) = fe85dd1c027adc2870f146cdfc95461c352e072f
+RMD160 (pkg_select-20050403.tar.gz) = ec15815036c99fd287fa1daba99f792f36fc3b31
+Size (pkg_select-20050403.tar.gz) = 43564 bytes



Home | Main Index | Thread Index | Old Index