diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-11-19 05:59:07 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-11-19 05:59:07 +0000 |
commit | 4723861aa2da01fa01dec68016b26cf7091cdbff (patch) | |
tree | 469d7d0ff16dc7b9863a138166305af5eace1730 /astro/gdesklets-weather | |
parent | c4df078810853b33c9312e1faf9b6a66ea21b7a9 (diff) |
Notes
Diffstat (limited to 'astro/gdesklets-weather')
-rw-r--r-- | astro/gdesklets-weather/Makefile | 47 | ||||
-rw-r--r-- | astro/gdesklets-weather/distinfo | 1 | ||||
-rw-r--r-- | astro/gdesklets-weather/pkg-descr | 3 | ||||
-rw-r--r-- | astro/gdesklets-weather/pkg-message | 20 | ||||
-rw-r--r-- | astro/gdesklets-weather/pkg-plist | 37 |
5 files changed, 108 insertions, 0 deletions
diff --git a/astro/gdesklets-weather/Makefile b/astro/gdesklets-weather/Makefile new file mode 100644 index 000000000000..11bb1fe78a4f --- /dev/null +++ b/astro/gdesklets-weather/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: gdesklets-weather +# Date created: 17 November 2003 +# Whom: Mezz <mezz7@cox.net> +# +# $FreeBSD$ +# + +PORTNAME= weather +PORTVERSION= 0.22 +CATEGORIES= astro gnome +MASTER_SITES= http://gdesklets.gnomedesktop.org/files/ +PKGNAMEPREFIX= gdesklets- +DISTNAME= weather-desklet-${PORTVERSION} + +MAINTAINER= mezz7@cox.net +COMMENT= A weather monitoring Sensor and Display for gdesklets + +RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets + +USE_BZIP2= yes +USE_PYTHON= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes + +NAME= Weather +DATADIR= ${PREFIX}/share/gnome + +do-build: + @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC} + +do-install: + @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx + @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}/icons + @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/ + @${INSTALL_DATA} ${WRKSRC}/${NAME}/icons/*.png ${DATADIR}/gdesklets/Sensors/${NAME}/icons/ + @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/ + @${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/ + @${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Displays/${NAME}/ + @${LN} -s ${DATADIR}/gdesklets/Displays/${NAME}/README \ + ${DATADIR}/gdesklets/Sensors/${NAME}/README + +post-install: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME} + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/astro/gdesklets-weather/distinfo b/astro/gdesklets-weather/distinfo new file mode 100644 index 000000000000..c33d6705bc69 --- /dev/null +++ b/astro/gdesklets-weather/distinfo @@ -0,0 +1 @@ +MD5 (weather-desklet-0.22.tar.bz2) = 78d6b9a041581a92979f16fe31b5f039 diff --git a/astro/gdesklets-weather/pkg-descr b/astro/gdesklets-weather/pkg-descr new file mode 100644 index 000000000000..5ba5536cd5f8 --- /dev/null +++ b/astro/gdesklets-weather/pkg-descr @@ -0,0 +1,3 @@ +A weather monitoring Sensor and Display for gdesklets. + +WWW: http://gdesklets.gnomedesktop.org/ diff --git a/astro/gdesklets-weather/pkg-message b/astro/gdesklets-weather/pkg-message new file mode 100644 index 000000000000..f8f9f8bccd89 --- /dev/null +++ b/astro/gdesklets-weather/pkg-message @@ -0,0 +1,20 @@ +## +To view the README: + + cat ${PREFIX}/share/gnome/gdesklets/Displays/${name}/README + cat ${PREFIX}/share/gnome/gdesklets/Sensors/${name}/README + +To view the installed applets: + + ls ${PREFIX}/share/gnome/gdesklets/Displays + +To use those applets: + + gdesklets ${PREFIX}/share/gnome/gdesklets/Displays/${name}/${name}.display + +Replace the ${name} with the correct name to what you want to use applets. + +NOTE: Be sure to login as your user when you use the gdesklets command, + as the configuration will be stored in the ~/.gdesklets/ directory + and/or gconf database. +## diff --git a/astro/gdesklets-weather/pkg-plist b/astro/gdesklets-weather/pkg-plist new file mode 100644 index 000000000000..8f4b9285f547 --- /dev/null +++ b/astro/gdesklets-weather/pkg-plist @@ -0,0 +1,37 @@ +share/gnome/gdesklets/Displays/Weather/README +share/gnome/gdesklets/Displays/Weather/gfx/bg-left.png +share/gnome/gdesklets/Displays/Weather/gfx/bg-right.png +share/gnome/gdesklets/Displays/Weather/gfx/bg-weather.png +share/gnome/gdesklets/Displays/Weather/weather.display +share/gnome/gdesklets/Sensors/Weather/README +share/gnome/gdesklets/Sensors/Weather/__init__.py +share/gnome/gdesklets/Sensors/Weather/__init__.pyc +share/gnome/gdesklets/Sensors/Weather/__init__.pyo +share/gnome/gdesklets/Sensors/Weather/icons/clear-sky.png +share/gnome/gdesklets/Sensors/Weather/icons/cloud.png +share/gnome/gdesklets/Sensors/Weather/icons/cloudy_night.png +share/gnome/gdesklets/Sensors/Weather/icons/drizzle.png +share/gnome/gdesklets/Sensors/Weather/icons/fog.png +share/gnome/gdesklets/Sensors/Weather/icons/heavy-rain.png +share/gnome/gdesklets/Sensors/Weather/icons/ice.png +share/gnome/gdesklets/Sensors/Weather/icons/isolated.t-storm.png +share/gnome/gdesklets/Sensors/Weather/icons/luna-ceatza.png +share/gnome/gdesklets/Sensors/Weather/icons/luna-nori.png +share/gnome/gdesklets/Sensors/Weather/icons/moon-rain.png +share/gnome/gdesklets/Sensors/Weather/icons/moon-snow.png +share/gnome/gdesklets/Sensors/Weather/icons/moon-tstorm.png +share/gnome/gdesklets/Sensors/Weather/icons/moon.png +share/gnome/gdesklets/Sensors/Weather/icons/mostly-cloudy.png +share/gnome/gdesklets/Sensors/Weather/icons/rain.png +share/gnome/gdesklets/Sensors/Weather/icons/snow.png +share/gnome/gdesklets/Sensors/Weather/icons/sun-light-clouds.png +share/gnome/gdesklets/Sensors/Weather/icons/sun.png +share/gnome/gdesklets/Sensors/Weather/icons/suncloud.png +share/gnome/gdesklets/Sensors/Weather/icons/t-storm_night.png +share/gnome/gdesklets/Sensors/Weather/icons/thunder.png +share/gnome/gdesklets/Sensors/Weather/icons/unknown.png +share/gnome/gdesklets/Sensors/Weather/icons/wind.png +@dirrm share/gnome/gdesklets/Sensors/Weather/icons +@dirrm share/gnome/gdesklets/Sensors/Weather +@dirrm share/gnome/gdesklets/Displays/Weather/gfx +@dirrm share/gnome/gdesklets/Displays/Weather |