Hi, I was playing with pkgng and making some new ports when I found in bsd.pkgng.mk some features like:
KGPREINSTALL?= ${PKGDIR}/pkg-pre-install PKGPOSTINSTALL?= ${PKGDIR}/pkg-post-install PKGPREDEINSTALL?= ${PKGDIR}/pkg-pre-deinstall PKGPOSTDEINSTALL?= ${PKGDIR}/pkg-post-deinstall PKGPREUPGRADE?= ${PKGDIR}/pkg-pre-upgrade PKGPOSTUPGRADE?= ${PKGDIR}/pkg-post-upgrade PKGUPGRADE?= ${PKGDIR}/pkg-upgrade Anyone can tell me what can i do with this options? For instance, I can suppose that PKGUPGRADE will only run if i'm upgrading an installed package. Am i right? Anyway, i tried to use that in my port with no success, here is the important piece of my Makefile: SUB_FILES= pkg-install pkg-upgrade upgrade: ${SH} ${PKGUPGRADE} ${PKGNAME} UPGRADE I created files/pkg-upgrade.in with some commands to be ran in an upgrade. But when i upgrade my package on client side it didn't work. Anyone is using that and can explain how it works? Thanks _______________________________________________ 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"