Index: ports-mgmt/pkg-plugin-watchpkg/Makefile =================================================================== --- ports-mgmt/pkg-plugin-watchpkg/Makefile (nonexistent) +++ ports-mgmt/pkg-plugin-watchpkg/Makefile (working copy) @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= pkg-plugin-watchpkg +DISTVERSION= 1.0.0 +CATEGORIES= ports-mgmt + +MAINTAINER= ms-freebsd-ports@stoffnet.at +COMMENT= Plugin for pkg(8) to notify a list of scripts about package changes + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= pkg>0:ports-mgmt/pkg \ + pkgconf>0:devel/pkgconf +RUN_DEPENDS= pkg>0:ports-mgmt/pkg + +USE_GITHUB= yes +GH_ACCOUNT= srcbucket +GH_TAGNAME= ${DISTVERSION} + +do-install: + ${MKDIR} ${STAGEDIR}${LOCALBASE}/lib/pkg/ + ${MKDIR} ${STAGEDIR}${LOCALBASE}/etc/pkg/ + ${INSTALL_LIB} ${WRKSRC}/watchpkg.so ${STAGEDIR}${LOCALBASE}/lib/pkg/ + ${INSTALL_MAN} ${WRKSRC}/watchpkg.conf.sample ${STAGEDIR}${PREFIX}/etc/pkg/ + +.include Property changes on: ports-mgmt/pkg-plugin-watchpkg/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: ports-mgmt/pkg-plugin-watchpkg/distinfo =================================================================== --- ports-mgmt/pkg-plugin-watchpkg/distinfo (nonexistent) +++ ports-mgmt/pkg-plugin-watchpkg/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1591886168 +SHA256 (srcbucket-pkg-plugin-watchpkg-1.0.0_GH0.tar.gz) = 8c22dc9ba9ab30c1fdaf58444e5fc80e8d303215bb1b8704f61740e17b058951 +SIZE (srcbucket-pkg-plugin-watchpkg-1.0.0_GH0.tar.gz) = 6245 Property changes on: ports-mgmt/pkg-plugin-watchpkg/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: ports-mgmt/pkg-plugin-watchpkg/pkg-descr =================================================================== --- ports-mgmt/pkg-plugin-watchpkg/pkg-descr (nonexistent) +++ ports-mgmt/pkg-plugin-watchpkg/pkg-descr (working copy) @@ -0,0 +1,16 @@ +The plugin watches packages for INSTALL, DEINSTALL and UPGRADE events and +executes a set of scripts after 'pkg install', 'pkg upgrade', 'pkg remove' or +'pkg autoremove' have been run. + +Create /usr/local/etc/pkg/watchpkg.conf based on watchpkg.conf.sample and edit +it to your liking. + +In /usr/local/etc/pkg.conf, make sure PKG_ENABLE_PLUGINS is set to true and +add "watchpkg" to PLUGINS. + +Check your setup via 'pkg plugins': + + $ pkg plugins + NAME DESC VERSION + watchpkg Watch for package changes 1.0.0 + Property changes on: ports-mgmt/pkg-plugin-watchpkg/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: ports-mgmt/pkg-plugin-watchpkg/pkg-plist =================================================================== --- ports-mgmt/pkg-plugin-watchpkg/pkg-plist (nonexistent) +++ ports-mgmt/pkg-plugin-watchpkg/pkg-plist (working copy) @@ -0,0 +1,2 @@ +lib/pkg/watchpkg.so +etc/pkg/watchpkg.conf.sample Property changes on: ports-mgmt/pkg-plugin-watchpkg/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property