Mon Jun 8 13:58:26 2009 UTC ()
pkgin is aimed at being an apt / yum like tool for managing
pkgsrc binary packages. It relies on pkg_summary(5) for
installation, removal and upgrade of packages and associated
dependencies, using a remote repository.
OK'd by seb@
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
(imil)
diff -r0 -r1.1.1.1 pkgsrc/pkgtools/pkgin/distinfo
diff -r0 -r1.1.1.1 pkgsrc/pkgtools/pkgin/PLIST
diff -r0 -r1.1.1.1 pkgsrc/pkgtools/pkgin/Makefile
diff -r0 -r1.1.1.1 pkgsrc/pkgtools/pkgin/MESSAGE
diff -r0 -r1.1.1.1 pkgsrc/pkgtools/pkgin/DESCR
diff -r0 -r1.1.1.1 pkgsrc/pkgtools/pkgin/options.mk
$NetBSD: distinfo,v 1.1.1.1 2009/06/08 13:58:26 imil Exp $
SHA1 (pkgin-0.2.5.tar.gz) = 27373fb35a142fdf5b097bd173cbc8453786b85e
RMD160 (pkgin-0.2.5.tar.gz) = 70854b01e1d2c12ed6be09175eaf5e48c0aa15ef
Size (pkgin-0.2.5.tar.gz) = 71392 bytes
@comment $NetBSD: PLIST,v 1.1.1.1 2009/06/08 13:58:26 imil Exp $
bin/pkgin
man/man1/pkgin.1
share/examples/pkgin/repositories.conf.example
@dirrm share/examples/pkgin
@exec ${MKDIR} %D/etc/pkgin
@dirrm etc/pkgin
# $NetBSD: Makefile,v 1.1.1.1 2009/06/08 13:58:26 imil Exp $
#
DISTNAME= pkgin-0.2.5
CATEGORIES= pkgtools
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/imil/
MAINTAINER= imil@gcu.info
HOMEPAGE= http://imil.net/pkgin/
COMMENT= Apt / yum like tool for managing pkgsrc binary packages
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/repositories.conf.example \
${PKG_SYSCONFDIR}/${PKGBASE}/repositories.conf
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR} \
${PKG_SYSCONFDIR}/${PKGBASE}
WRKSRC= ${WRKDIR}/pkgin
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-configure
SUBST_MESSAGE.path= Adjusting path.
SUBST_FILES.path= Makefile actions.c pkgin.1
SUBST_SED.path= -e "s|/usr/pkg|${PREFIX}|g"
SUBST_SED.path+= -e "s|/usr/sbin|${PKG_TOOLS_BIN}|g"
USE_BSD_MAKEFILE= yes
USE_FEATURES= nbcompat
NBCOMPAT_CONFIGURE_ARGS+= --enable-db
.include "options.mk"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pkgin ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pkgin.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/repositories.conf \
${DESTDIR}${EGDIR}/repositories.conf.example
.include "../../mk/bsd.prefs.mk"
# libfetch has no builtin.mk and is included in NetBSD>=5
.if ${OPSYS} != "NetBSD" || \
(${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-4].*))
. include "../../net/libfetch/buildlink3.mk"
.endif
.include "../../archivers/libarchive/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2009/06/08 13:58:26 imil Exp $
First steps before using pkgin.
. Modify ${PREFIX}/etc/pkgin/repositories.conf to suit your platform
. Initialize the database :
# pkgin update
===========================================================================
pkgin is aimed at being an apt / yum like tool for managing
pkgsrc binary packages. It relies on pkg_summary(5) for
installation, removal and upgrade of packages and associated
dependencies, using a remote repository.
# $NetBSD: options.mk,v 1.1.1.1 2009/06/08 13:58:26 imil Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pkgin
PKG_SUPPORTED_OPTIONS= gzip-summary
.include "../../mk/bsd.options.mk"
# by default, pkg_summary extention is set to bz2
.if !empty(PKG_OPTIONS:Mgzip-summary)
CPPFLAGS+= -DSUMEXT=\"gz\"
.endif