Date: Sun, 26 May 2019 01:23:16 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502668 - in head/deskutils: . goesimage goesimage/files Message-ID: <201905260123.x4Q1NGn2031351@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sun May 26 01:23:15 2019 New Revision: 502668 URL: https://svnweb.freebsd.org/changeset/ports/502668 Log: New port: deskutils/goesimage: Wallpapers from NOAA Geostationary Operational Environment Satellite Added: head/deskutils/goesimage/ head/deskutils/goesimage/Makefile (contents, props changed) head/deskutils/goesimage/distinfo (contents, props changed) head/deskutils/goesimage/files/ head/deskutils/goesimage/files/crontab.in (contents, props changed) head/deskutils/goesimage/pkg-descr (contents, props changed) head/deskutils/goesimage/pkg-message (contents, props changed) head/deskutils/goesimage/pkg-plist (contents, props changed) Modified: head/deskutils/Makefile Modified: head/deskutils/Makefile ============================================================================== --- head/deskutils/Makefile Sun May 26 00:54:07 2019 (r502667) +++ head/deskutils/Makefile Sun May 26 01:23:15 2019 (r502668) @@ -95,6 +95,7 @@ SUBDIR += gnote SUBDIR += gnustep-wrapper SUBDIR += go-for-it + SUBDIR += goesimage SUBDIR += gourmet SUBDIR += gpicker SUBDIR += grantlee-editor Added: head/deskutils/goesimage/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/Makefile Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= goesimage +DISTVERSION= 0.1.1 +CATEGORIES= deskutils + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Wallpapers from NOAA Geostationary Operational Environment Satellite + +RUN_DEPENDS= bash:shells/bash \ + curl:ftp/curl \ + feh:graphics/feh \ + convert:graphics/ImageMagick6 + +USES= shebangfix +SHEBANG_FILES= goesimage +USE_GITHUB= yes +GH_ACCOUNT= pigmonkey + +NO_BUILD= yes +NO_ARCH= yes + +SUB_LIST= PORTNAME=${PORTNAME} +SUB_FILES= crontab + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec/ + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/crontab ${STAGEDIR}${DATADIR} + @(echo "#!/bin/sh"; \ + echo ""; \ + echo "crontab -l | ${GREP} -v '${PREFIX}/libexec/${PORTNAME}' | (cat ; cat ${DATADIR}/crontab) | crontab -;"; \ + ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-enable + @(echo "#!/bin/sh"; \ + echo ""; \ + echo "crontab -l | ${GREP} -v '${PREFIX}/libexec/${PORTNAME}' | crontab -"; \ + ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-disable + @cd ${STAGEDIR}${PREFIX}/bin && ${CHMOD} +x ${PORTNAME}-enable ${PORTNAME}-disable + +.include <bsd.port.mk> Added: head/deskutils/goesimage/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/distinfo Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558824744 +SHA256 (pigmonkey-goesimage-0.1.1_GH0.tar.gz) = 616c3501625ebb96dcfc0ff7e7ac79bc1c74f0e75efda422ebbd88364432ec04 +SIZE (pigmonkey-goesimage-0.1.1_GH0.tar.gz) = 4098974 Added: head/deskutils/goesimage/files/crontab.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/files/crontab.in Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1 @@ +01,16,31,46 * * * * env DISPLAY=:0 %%PREFIX%%/libexec/%%PORTNAME%% -w -e Added: head/deskutils/goesimage/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/pkg-descr Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1,5 @@ +goesimage downloads beautiful images of planet Earth from the NOAA Geostationary +Operational Environment Satellite (https://www.goes.noaa.gov/) and makes them +your wallpaper. + +WWW: https://github.com/pigmonkey Added: head/deskutils/goesimage/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/pkg-message Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1,19 @@ +====================================================================== +You installed goesimage, the program that downloads images from +NOAA Geostationary Operational Environment Satellite and makes them +your wallpaper. + +It only makes sense to install goesimage if you are running some +graphical desktop environment. + +You need to enable goesimage by running this command: +$ goesimage-enable + +This will install the crontab procedure for your current user. + +Images will be saved in your ~/.cache/goesimage/ directory, and will +be set as a wallpaper on the Xorg server running on DISPLAY=:0 + +Before uninstalling, you need to disable it: +$ goesimage-disable +====================================================================== Added: head/deskutils/goesimage/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/pkg-plist Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1,4 @@ +bin/goesimage-disable +bin/goesimage-enable +libexec/goesimage +%%DATADIR%%/crontab
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905260123.x4Q1NGn2031351>