diff options
author | xtraeme <xtraeme> | 2005-04-06 15:20:42 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2005-04-06 15:20:42 +0000 |
commit | 7f4625ad9cb9e8d586baa56b5990a62bfd123b9f (patch) | |
tree | 76526f5e3a76e007b693cde261591fb3def2db60 /pkgtools | |
parent | 73aad5539ef6f1bc91e4f5f8ab3b9a33cfc79af9 (diff) | |
download | pkgsrc-7f4625ad9cb9e8d586baa56b5990a62bfd123b9f.tar.gz |
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 (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_select/DESCR | 16 | ||||
-rw-r--r-- | pkgtools/pkg_select/Makefile | 45 | ||||
-rw-r--r-- | pkgtools/pkg_select/PLIST | 8 | ||||
-rw-r--r-- | pkgtools/pkg_select/distinfo | 5 |
4 files changed, 74 insertions, 0 deletions
diff --git a/pkgtools/pkg_select/DESCR b/pkgtools/pkg_select/DESCR new file mode 100644 index 00000000000..458d19a03dd --- /dev/null +++ b/pkgtools/pkg_select/DESCR @@ -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 --git a/pkgtools/pkg_select/Makefile b/pkgtools/pkg_select/Makefile new file mode 100644 index 00000000000..e2c3e6e520f --- /dev/null +++ b/pkgtools/pkg_select/Makefile @@ -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 +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 --git a/pkgtools/pkg_select/PLIST b/pkgtools/pkg_select/PLIST new file mode 100644 index 00000000000..7412936b820 --- /dev/null +++ b/pkgtools/pkg_select/PLIST @@ -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 --git a/pkgtools/pkg_select/distinfo b/pkgtools/pkg_select/distinfo new file mode 100644 index 00000000000..8eeb9324b7e --- /dev/null +++ b/pkgtools/pkg_select/distinfo @@ -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 |