Date: Fri, 10 Feb 2006 22:08:31 GMT From: Gerrit Beine <gerrit.beine@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/93150: New port: mail/squirrelmail-notify-plugin Message-ID: <200602102208.k1AM8VDj072209@www.freebsd.org> Resent-Message-ID: <200602102210.k1AMA5Im022105@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93150 >Category: ports >Synopsis: New port: mail/squirrelmail-notify-plugin >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: Fri Feb 10 22:10:05 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 6.0-RELEASE >Organization: Beine Computer >Environment: FreeBSD fbsd60.vmware 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: A small browser window is displayed to show the number of unread message in a users inbox. The page is refreshed at user defined intervals, and will restore itself from minimized if there are unread messages, optionally playing a sound file. Requires Javascript on the browser. WWW: http://www.squirrelmail.org >How-To-Repeat: >Fix: # 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: # # squirrelmail-notify-plugin # squirrelmail-notify-plugin/Makefile # squirrelmail-notify-plugin/distinfo # squirrelmail-notify-plugin/pkg-descr # squirrelmail-notify-plugin/pkg-plist # echo c - squirrelmail-notify-plugin mkdir -p squirrelmail-notify-plugin > /dev/null 2>&1 echo x - squirrelmail-notify-plugin/Makefile sed 's/^X//' >squirrelmail-notify-plugin/Makefile << 'END-of-squirrelmail-notify-plugin/Makefile' X# New ports collection makefile for: squirrelmail-notify-plugin X# Date created: 10 Feb 2006 X# Whom: Gerrit Beine <gerrit.beine@gmx.de> X# X# $FreeBSD$ X XPORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin XPORTVERSION= 1.3 XCATEGORIES= mail www XMASTER_SITES= http://www.squirrelmail.org/plugins/ XDISTNAME= ${SQUIRREL_PLUGIN_NAME}_${PORTVERSION:S/./_/g} XDIST_SUBDIR= squirrelmail X XMAINTAINER= gerrit.beine@gmx.de XCOMMENT= Notify when new mail arrives X XRUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ X ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin X XSQUIRREL_PLUGIN_NAME= notify X X.ifdef SQUIRRELDIR XPLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} XSUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}" X.else X. ifndef WITHOUT_WWWDIR XSQUIRRELDIR= ${PREFIX}/www/squirrelmail XPLIST_SUB+= SQUIRRELDIR=www/squirrelmail XSUB_LIST+= "SQUIRRELDIR=www/squirrelmail" X. else XSQUIRRELDIR= ${PREFIX}/squirrelmail XPLIST_SUB+= SQUIRRELDIR=squirrelmail XSUB_LIST+= "SQUIRRELDIR=squirrelmail" X. endif X.endif X XNO_BUILD= yes XNO_WRKSUBDIR= yes XUSE_PERL5_BUILD= yes XUSE_PHP= yes XWANT_PHP_WEB= yes X Xpre-everything:: X @${ECHO} "" X.ifndef WITHOUT_ACTIVATE X @${ECHO} "Activating plug-in in SquirrelMail after installation." X @${ECHO} "If you don't want to automatically activate the plug-in set" X @${ECHO} "WITHOUT_ACTIVATE=yes" X.else X @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." X @${ECHO} "If you want to automatically activate the plug-in unset" X @${ECHO} "WITHOUT_ACTIVATE" X.endif X @${ECHO} "" X Xdo-install: X ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins X ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} X Xpost-install: X.ifndef WITHOUT_ACTIVATE X @${ECHO} "Activating plug-in in SquirrelMail" X ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} X.else X @${ECHO} "To activate the plug-in in SquirrelMail use" X @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" X.endif X @${ECHO} "" X X.include <bsd.port.mk> END-of-squirrelmail-notify-plugin/Makefile echo x - squirrelmail-notify-plugin/distinfo sed 's/^X//' >squirrelmail-notify-plugin/distinfo << 'END-of-squirrelmail-notify-plugin/distinfo' XMD5 (squirrelmail/notify_1_3.tar.gz) = 7008be9c855162079927e39926823b7e XSHA256 (squirrelmail/notify_1_3.tar.gz) = 7bc0f2e19843934d6f34347c81a1fef54db0d3e7127dc86e5161a25e3a415210 XSIZE (squirrelmail/notify_1_3.tar.gz) = 16959 END-of-squirrelmail-notify-plugin/distinfo echo x - squirrelmail-notify-plugin/pkg-descr sed 's/^X//' >squirrelmail-notify-plugin/pkg-descr << 'END-of-squirrelmail-notify-plugin/pkg-descr' XA small browser window is displayed to show the number of unread message Xin a users inbox. The page is refreshed at user defined intervals, and will Xrestore itself from minimized if there are unread messages, Xoptionally playing a sound file. Requires Javascript on the browser. X XWWW: http://www.squirrelmail.org END-of-squirrelmail-notify-plugin/pkg-descr echo x - squirrelmail-notify-plugin/pkg-plist sed 's/^X//' >squirrelmail-notify-plugin/pkg-plist << 'END-of-squirrelmail-notify-plugin/pkg-plist' X@unexec %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin notify X%%SQUIRRELDIR%%/plugins/notify/copying X%%SQUIRRELDIR%%/plugins/notify/readme X%%SQUIRRELDIR%%/plugins/notify/notify.wav X%%SQUIRRELDIR%%/plugins/notify/focus.php X%%SQUIRRELDIR%%/plugins/notify/index.php X%%SQUIRRELDIR%%/plugins/notify/notify.php X%%SQUIRRELDIR%%/plugins/notify/setup.php X@dirrm %%SQUIRRELDIR%%/plugins/notify/ X@exec %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin notify END-of-squirrelmail-notify-plugin/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602102208.k1AM8VDj072209>