diff options
author | marcus <marcus@FreeBSD.org> | 2003-09-03 04:32:06 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-09-03 04:32:06 +0000 |
commit | a7138eec596721177e5f6303208a00c27d90bc7f (patch) | |
tree | 4b76525c39596f76e998f8f4d422c22c614358cb /deskutils/gdesklets | |
parent | 2311b07e8801511e7714714ae3a8798ae90f4e9e (diff) | |
download | FreeBSD-ports-a7138eec596721177e5f6303208a00c27d90bc7f.zip FreeBSD-ports-a7138eec596721177e5f6303208a00c27d90bc7f.tar.gz |
Create directories for Sensors and Displays.
PR: 56331
Submitted by: maintainer
Diffstat (limited to 'deskutils/gdesklets')
-rw-r--r-- | deskutils/gdesklets/Makefile | 3 | ||||
-rw-r--r-- | deskutils/gdesklets/pkg-install | 6 | ||||
-rw-r--r-- | deskutils/gdesklets/pkg-plist | 2 |
3 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/gdesklets/Makefile b/deskutils/gdesklets/Makefile index 37e642b..c989b57 100644 --- a/deskutils/gdesklets/Makefile +++ b/deskutils/gdesklets/Makefile @@ -7,6 +7,7 @@ PORTNAME= gdesklets PORTVERSION= 0.20 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= http://www.pycage.de/download/${PORTNAME}/ DISTNAME= gDesklets-${PORTVERSION} @@ -27,6 +28,8 @@ USE_X_PREFIX= yes USE_GNOME= gnomehack gnomeprefix gnometarget post-install: + @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors + @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/deskutils/gdesklets/pkg-install b/deskutils/gdesklets/pkg-install new file mode 100644 index 0000000..9a640a3 --- /dev/null +++ b/deskutils/gdesklets/pkg-install @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ "$2" = "POST-INSTALL" ]; then + mkdir -p ${PKG_PREFIX}/share/gnome/gdesklets/Sensors + mkdir -p ${PKG_PREFIX}/share/gnome/gdesklets/Displays +fi diff --git a/deskutils/gdesklets/pkg-plist b/deskutils/gdesklets/pkg-plist index c774dfe..612f16a 100644 --- a/deskutils/gdesklets/pkg-plist +++ b/deskutils/gdesklets/pkg-plist @@ -83,4 +83,6 @@ share/gnome/pixmaps/gdesklets.png @dirrm share/gnome/gdesklets/desktop @dirrm share/gnome/gdesklets/data @dirrm share/gnome/gdesklets/config +@dirrm share/gnome/gdesklets/Sensors +@dirrm share/gnome/gdesklets/Displays @dirrm share/gnome/gdesklets |