diff options
-rw-r--r-- | graphics/colord/Makefile | 3 | ||||
-rw-r--r-- | graphics/colord/pkg-install | 10 | ||||
-rw-r--r-- | graphics/colord/pkg-plist | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/graphics/colord/Makefile b/graphics/colord/Makefile index 7a127551e..e8f3646b0 100644 --- a/graphics/colord/Makefile +++ b/graphics/colord/Makefile @@ -69,4 +69,7 @@ post-patch: s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure .endif +post-install: + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + .include <bsd.port.mk> diff --git a/graphics/colord/pkg-install b/graphics/colord/pkg-install new file mode 100644 index 000000000..26c9a4edb --- /dev/null +++ b/graphics/colord/pkg-install @@ -0,0 +1,10 @@ +#!/bin/sh + +case $2 in +POST-INSTALL) + /bin/mkdir -p /var/db/colord/icc + /usr/sbin/chown colord:colord /var/db/colord + /usr/sbin/chown colord:colord /var/db/colord/icc + exit 0 + ;; +esac diff --git a/graphics/colord/pkg-plist b/graphics/colord/pkg-plist index 387ac3e7b..e6fccecb5 100644 --- a/graphics/colord/pkg-plist +++ b/graphics/colord/pkg-plist @@ -195,3 +195,4 @@ share/polkit-1/actions/org.freedesktop.color.policy @cwd / @dirrmtry var/db/colord/icc @dirrmtry var/db/colord +@cwd |