Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  6 Jan 2004 08:06:23 +0100 (CET)
From:      Vincent Tantardini <vinc@FreeBSD-fr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60966: [New Port] : misc/gdesklets-rand
Message-ID:  <20040106070623.87AEB2CF@sativa.0x45.org>
Resent-Message-ID: <200401060710.i067AE7G089153@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60966
>Category:       ports
>Synopsis:       [New Port] : misc/gdesklets-rand
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 05 23:10:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Vincent Tantardini
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Kerneled.com
>Environment:
System: FreeBSD sativa.0x45.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Fri Dec 26 21:19:14 CET 2003 vinc@sativa.0x45.org:/usr/obj/usr/src/sys/SATIVA i386


	
>Description:
	Completely useless desklet which I used for testing. It just displays
	some random graphs in an array, and uses the Psi Theme sensor.
>How-To-Repeat:
	
>Fix:

	

--- gdesklets-rand.port begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gdesklets-rand
#	gdesklets-rand/Makefile
#	gdesklets-rand/distinfo
#	gdesklets-rand/pkg-descr
#	gdesklets-rand/pkg-message
#	gdesklets-rand/pkg-plist
#
echo c - gdesklets-rand
mkdir -p gdesklets-rand > /dev/null 2>&1
echo x - gdesklets-rand/Makefile
sed 's/^X//' >gdesklets-rand/Makefile << 'END-of-gdesklets-rand/Makefile'
X# New ports collection makefile for:	gdesklets-rand
X# Date created:				06 January 2004
X# Whom:					Vincent Tantardini <vinc@FreeBSD-fr.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	rand
XPORTVERSION=	0.1
XCATEGORIES=	misc gnome
XMASTER_SITES=	http://gdesklets.gnomedesktop.org/files/
XPKGNAMEPREFIX=	gdesklets-
XDISTNAME=	${PORTNAME}-gdesklet-${PORTVERSION}
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	Displays some random graphs in an array
X
XRUN_DEPENDS=	${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets \
X		${X11BASE}/share/gnome/gdesklets/Sensors/Theme/__init__.py:${PORTSDIR}/deskutils/gdesklets-sensor-psi_theme
X
XNO_WRKSUBDIR=	yes
XUSE_BZIP2=	yes
XUSE_X_PREFIX=	yes
XUSE_PYTHON=	yes
X
XNAME=		rand
XDATADIR=	${PREFIX}/share/gnome
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
Xdo-build:
X	@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
X	@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}
X
Xdo-install:
X	@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/
X	@${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}/
X	@${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
X	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
X	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
X	@${INSTALL_DATA} ${WRKSRC}/Displays/${NAME}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
X	@${INSTALL_DATA} ${WRKSRC}/Displays/${NAME}/*.png ${DATADIR}/gdesklets/Displays/${NAME}/
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-gdesklets-rand/Makefile
echo x - gdesklets-rand/distinfo
sed 's/^X//' >gdesklets-rand/distinfo << 'END-of-gdesklets-rand/distinfo'
XMD5 (rand-gdesklet-0.1.tar.bz2) = 5f2eb2510a86db9ecee6e2368cf3340e
END-of-gdesklets-rand/distinfo
echo x - gdesklets-rand/pkg-descr
sed 's/^X//' >gdesklets-rand/pkg-descr << 'END-of-gdesklets-rand/pkg-descr'
XCompletely useless desklet which I used for testing. It just displays 
Xsome random graphs in an array, and uses the Psi Theme sensor.
X
XWWW: http://gdesklets.gnomedesktop.org/
END-of-gdesklets-rand/pkg-descr
echo x - gdesklets-rand/pkg-message
sed 's/^X//' >gdesklets-rand/pkg-message << 'END-of-gdesklets-rand/pkg-message'
X
XTo add this desklet to your desktop:
X
X    gdesklets %%PREFIX%%/share/gnome/gdesklets/Displays/%%NAME%%/%%NAME%%.display
END-of-gdesklets-rand/pkg-message
echo x - gdesklets-rand/pkg-plist
sed 's/^X//' >gdesklets-rand/pkg-plist << 'END-of-gdesklets-rand/pkg-plist'
Xshare/gnome/gdesklets/Displays/rand/icon.png
Xshare/gnome/gdesklets/Displays/rand/preview.png
Xshare/gnome/gdesklets/Displays/rand/rand.display
Xshare/gnome/gdesklets/Sensors/rand/__init__.py
Xshare/gnome/gdesklets/Sensors/rand/__init__.pyc
Xshare/gnome/gdesklets/Sensors/rand/__init__.pyo
X@dirrm share/gnome/gdesklets/Sensors/rand
X@dirrm share/gnome/gdesklets/Displays/rand
END-of-gdesklets-rand/pkg-plist
exit
--- gdesklets-rand.port ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040106070623.87AEB2CF>