diff options
author | imil <imil> | 2011-02-13 16:03:56 +0000 |
---|---|---|
committer | imil <imil> | 2011-02-13 16:03:56 +0000 |
commit | 0ae85030316631c9e4d8facf98368e325035f162 (patch) | |
tree | 36db36c881a3075e6e3c04620b5013f07d48e90e /pkgtools | |
parent | f3a6fbbcf889c209a9621675f6b6ee74739e4826 (diff) | |
download | pkgsrc-0ae85030316631c9e4d8facf98368e325035f162.tar.gz |
pkgin 0.4.0
20110207
Replaced naive repository arch check by MACHINE_ARCH check
20110206
Bump to SQLite 3.7.5
20110205
Added statvfs64 support
Redirect stderr to logfile while pkg_{add,delete}
20110204
Feature request: -F / force-reinstall
Feature request: PR 43049
Generated repositories.conf for NetBSD, DragonFly BSD and MINIX
20110130
Merged 0.4.0 to HEAD
MINIX patches from Gautam are now upstream
Re-added download-only
Makefile.in / configure.ac cleanup
Integrated some of bapt's patches
- chroot
- bandwidth calculation
20110122
pkgin 0.4.0
SQLite "Amalgamation" version is now part of the tree,
No more databases/sqlite3 dependency needed
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkgin/Makefile | 26 | ||||
-rw-r--r-- | pkgtools/pkgin/distinfo | 8 |
2 files changed, 21 insertions, 13 deletions
diff --git a/pkgtools/pkgin/Makefile b/pkgtools/pkgin/Makefile index 4099b86cba3..7cef9e21004 100644 --- a/pkgtools/pkgin/Makefile +++ b/pkgtools/pkgin/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.8 2011/01/20 18:14:09 imil Exp $ +# $NetBSD: Makefile,v 1.9 2011/02/13 16:03:56 imil Exp $ # -DISTNAME= pkgin-0.3.3.4 +DISTNAME= pkgin-0.4.0 CATEGORIES= pkgtools MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/imil/ -MAINTAINER= imil@gcu.info +MAINTAINER= imil@NetBSD.org HOMEPAGE= http://imil.net/pkgin/ COMMENT= Apt / yum like tool for managing pkgsrc binary packages LICENSE= modified-bsd @@ -26,14 +26,21 @@ SUBST_STAGE.path= pre-configure SUBST_MESSAGE.path= Adjusting path. SUBST_FILES.path= Makefile.in actions.c pkgin.1 SUBST_SED.path= -e "s|/usr/pkg/etc|${PKG_SYSCONFDIR}|g" -SUBST_SED.path+= -e "s|/usr/pkg|${PREFIX}|g" SUBST_SED.path+= -e "s|/usr/sbin|${PKG_TOOLS_BIN}|g" SUBST_SED.path+= -e "s|/var|${VARBASE}|g" +SUBST_SED.path+= -e "s|/usr/pkg|${PREFIX}|g" GNU_CONFIGURE= yes USE_FEATURES= nbcompat -NBCOMPAT_CONFIGURE_ARGS+= --enable-db +.include "../../mk/bsd.prefs.mk" + +# those have official repositories +.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Minix" +pre-install: + ${GREP} -i ${OPSYS} ${WRKSRC}/REPOSITORIES >> \ + ${WRKSRC}/repositories.conf +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pkgin ${DESTDIR}${PREFIX}/bin @@ -42,15 +49,16 @@ do-install: ${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 +# Only MINIX doesn't compile SQLite Amalgation source +.if ${OPSYS} == "Minix" +. include "../../databases/sqlite3/buildlink3.mk" +.endif + .include "../../archivers/libarchive/buildlink3.mk" -.include "../../databases/sqlite3/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/pkgtools/pkgin/distinfo b/pkgtools/pkgin/distinfo index 6f71090e409..481a06153e1 100644 --- a/pkgtools/pkgin/distinfo +++ b/pkgtools/pkgin/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.7 2011/01/20 18:14:09 imil Exp $ +$NetBSD: distinfo,v 1.8 2011/02/13 16:03:56 imil Exp $ -SHA1 (pkgin-0.3.3.4.tar.gz) = 67ff74175af841fed65921941505fa12ef29ad6d -RMD160 (pkgin-0.3.3.4.tar.gz) = ac6e1e254071493fe2f731255973456b5714ce39 -Size (pkgin-0.3.3.4.tar.gz) = 141057 bytes +SHA1 (pkgin-0.4.0.tar.gz) = 10e8bb475d898de188bd406527c588c5f197e3ab +RMD160 (pkgin-0.4.0.tar.gz) = d564bb3f1d036d8b505409826f971cf38ce87912 +Size (pkgin-0.4.0.tar.gz) = 1361304 bytes |