On 31 August 2012 15:26, Alexander Pyhalov <a...@rsu.ru> wrote:
> Hello.
> Could I ask one stupid question?
> So, I've installed pkg from ports. Added WITH_PKGNG=yes to make.conf.
> Built some packages with "make package-recursive" to use as common
> repository for several systems.
>
> Now if I wish to update pkg, what should I do?
> So, for example, I'll make portsnap fetch && portsnap update...
> But could I "make install" pkg port after deinstalling it?
> As I remember, portmaster do it in the same way: backup && deinstall &&
> install...

Yes, have a look at ports-mgmt/pkg;

.if !exists(${LOCALBASE}/sbin/pkg)
PKG_BIN=        ${WRKSRC}/pkg-static/pkg-static
.endif

pkgng uses the pkg-static binary that is built to do the installation etc.

Chris
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to