diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-24 09:45:18 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-24 09:45:18 +0800 |
commit | 1df1f970f62ef7b1c5d243761c6aad5568f00a2d (patch) | |
tree | 281facc076ba4e3566ad84ffe6f38260f6ece801 | |
parent | 420bf8fdfd7c5114e8efd47d38b6be2d796dde3a (diff) | |
download | marcuscom-ports-1df1f970f62ef7b1c5d243761c6aad5568f00a2d.tar marcuscom-ports-1df1f970f62ef7b1c5d243761c6aad5568f00a2d.tar.gz marcuscom-ports-1df1f970f62ef7b1c5d243761c6aad5568f00a2d.tar.bz2 marcuscom-ports-1df1f970f62ef7b1c5d243761c6aad5568f00a2d.tar.lz marcuscom-ports-1df1f970f62ef7b1c5d243761c6aad5568f00a2d.tar.xz marcuscom-ports-1df1f970f62ef7b1c5d243761c6aad5568f00a2d.tar.zst marcuscom-ports-1df1f970f62ef7b1c5d243761c6aad5568f00a2d.zip |
Create an empty history file.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10230 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | sysutils/consolekit/Makefile | 2 | ||||
-rw-r--r-- | sysutils/consolekit/pkg-plist | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/consolekit/Makefile b/sysutils/consolekit/Makefile index 7617bd38d..b1f376ecd 100644 --- a/sysutils/consolekit/Makefile +++ b/sysutils/consolekit/Makefile @@ -7,6 +7,7 @@ PORTNAME= consolekit PORTVERSION= 0.2.5 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= http://people.freedesktop.org/~mccann/dist/ DISTFILES= ConsoleKit-${PORTVERSION}${EXTRACT_SUFX} @@ -34,5 +35,6 @@ post-install: ${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-server-pid \ ${PREFIX}/libexec/ck-get-x11-server-pid ${MKDIR} /var/log/ConsoleKit + ${TOUCH} -f /var/log/ConsoleKit/history .include <bsd.port.mk> diff --git a/sysutils/consolekit/pkg-plist b/sysutils/consolekit/pkg-plist index 29a1d46b8..2efda23f3 100644 --- a/sysutils/consolekit/pkg-plist +++ b/sysutils/consolekit/pkg-plist @@ -27,5 +27,6 @@ share/dbus-1/system-services/org.freedesktop.ConsoleKit.service @dirrm etc/ConsoleKit @exec mkdir -p /var/run/ConsoleKit @exec mkdir -p /var/log/ConsoleKit +@exec touch -f /var/log/ConsoleKit/history @unexec rm -rf /var/run/ConsoleKit 2>/dev/null || true @unexec rm -rf /var/log/ConsoleKit 2>/dev/null || true |