Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2008 19:33:22 +0200 (CEST)
From:      Marcin Cieslak <saper@SYSTEM.PL>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        thierry@FreeBSD.org, infofarmer@FreeBSD.org
Subject:   ports/125809: [NEW PORT] www/greasemonkey: Add bits of DHTML to any web page to change its behavior
Message-ID:  <200807201733.m6KHXMRX085940@radziecki.saper.info>
Resent-Message-ID: <200807201740.m6KHe2IC009251@freefall.freebsd.org>

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

>Number:         125809
>Category:       ports
>Synopsis:       [NEW PORT] www/greasemonkey: Add bits of DHTML to any web page to change its behavior
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 20 17:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Cieslak <saper@SYSTEM.PL>
>Release:        FreeBSD 7.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD radziecki.saper.info 7.0-STABLE FreeBSD 7.0-STABLE #7: Fri Jul 11 17:35:27 CEST 2008
>Description:
This a Seamonkey (may work on Mozilla, too) port of greasemonkey.
This port works using www/mozex way to install files directly in the browser
directory and registering chrome components without using xpi file.

The www/xpi-greasemonkey is a Firefox-specific way of creating a Firefox
extension. Possibly those two ports can be somehow integrated (but distfile
is different).

This port avoid the problem of wrong (400) files modes when installing
XPI file directly from the browser.

The description is shamelessly stolen from xpi-greasemonkey:

Greasemonkey is a Seamonkey/Mozilla extension which lets you to add bits of
DHTML ("user scripts") to any web page to change its behavior. In
much the same way that user CSS lets you take control of a web
page's style, user scripts let you easily control any aspect of a
web page's design or interaction.

WWW: http://www.greasespot.net/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- greasemonkey-0.8.2.shar 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:
#
#	greasemonkey
#	greasemonkey/pkg-descr
#	greasemonkey/files
#	greasemonkey/files/installed-chrome.txt
#	greasemonkey/Makefile
#	greasemonkey/distinfo
#	greasemonkey/pkg-plist
#
echo c - greasemonkey
mkdir -p greasemonkey > /dev/null 2>&1
echo x - greasemonkey/pkg-descr
sed 's/^X//' >greasemonkey/pkg-descr << 'b72e8a8616bcef6323177c2973408b92'
XGreasemonkey is a Seamonkey/Mozilla extension which lets you to add bits of
XDHTML ("user scripts") to any web page to change its behavior. In
Xmuch the same way that user CSS lets you take control of a web
Xpage's style, user scripts let you easily control any aspect of a
Xweb page's design or interaction.
X
XWWW: http://www.greasespot.net/
b72e8a8616bcef6323177c2973408b92
echo c - greasemonkey/files
mkdir -p greasemonkey/files > /dev/null 2>&1
echo x - greasemonkey/files/installed-chrome.txt
sed 's/^X//' >greasemonkey/files/installed-chrome.txt << '433df417c6ecf8b2dbfbdc493fdc66d5'
Xcontent,install,url,jar:resource:/chrome/greasemonkey.jar!/content/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/en-US/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/ca-AD/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/cs-CZ/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/da-DK/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/de-DE/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/es-ES/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/eu-ES/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/fa-IR/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/fi-FI/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/fr-FR/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/gl-ES/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/he-IL/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/it-IT/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/ja-JP/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/ko-KR/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/nl-NL/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/pl-PL/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/pt-BR/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/pt-PT/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/ru-RU/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/sk-SK/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/sl-SI/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/sv-SE/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/tr-TR/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/uk-UA/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/zh-CN/
Xlocale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/zh-TW/
433df417c6ecf8b2dbfbdc493fdc66d5
echo x - greasemonkey/Makefile
sed 's/^X//' >greasemonkey/Makefile << '33871804451dbfd088e73cf0f69556cf'
X# Ports collection Makefile for:  greasemonkey
X# Date created:			  Jul 20, 2008
X# Whom:				  Marcin Cieslak <saper@SYSTEM.PL>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	greasemonkey
XPORTVERSION=	0.8.2
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_MOZDEV}
XMASTER_SITE_SUBDIR=	xsidebar/mods
XDISTNAME=	${PORTNAME}-${PORTVERSION}-mod
X
XMAINTAINER=	saper@SYSTEM.PL
XCOMMENT=	Add bits of DHTML to any web page to change its behavior
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/www/mozex/Makefile.xpi"
X
Xdo-install:
X.for f in\
X		chrome/greasemonkey.jar \
X		chrome/icons/default/greasemonkey.ico \
X		components/gmIBrowserWindow.xpt \
X		components/gmIMenuCommand.xpt \
X		components/greasemonkey.js \
X		components/gmIGreasemonkeyService.xpt
X	${INSTALL_DATA} ${WRKDIR}/${f} ${MOZDIR}/${f}
X.endfor
X	${INSTALL_DATA} ${WRKDIR}/defaults/preferences/greasemonkey.js  \
X		${MOZDIR}/defaults/pref/greasemonkey.js
X
X.include <bsd.port.post.mk>
33871804451dbfd088e73cf0f69556cf
echo x - greasemonkey/distinfo
sed 's/^X//' >greasemonkey/distinfo << '9f82cfa2ef1e3cd6e6b812d41a6b862a'
XMD5 (greasemonkey-0.8.2-mod.xpi) = fec6e717552e2e5c9653a0316f6f9d06
XSHA256 (greasemonkey-0.8.2-mod.xpi) = 9f256d5f2093ac68727da3918ec38b93821805ec83e34fc1a6b8443f876a9535
XSIZE (greasemonkey-0.8.2-mod.xpi) = 144383
9f82cfa2ef1e3cd6e6b812d41a6b862a
echo x - greasemonkey/pkg-plist
sed 's/^X//' >greasemonkey/pkg-plist << '2723d1c1b5cbbf7f535dbfb164bdd41b'
X%%MOZDIR%%/chrome/greasemonkey.jar
X%%MOZDIR%%/chrome/icons/default/greasemonkey.ico
X%%MOZDIR%%/components/gmIBrowserWindow.xpt
X%%MOZDIR%%/components/gmIGreasemonkeyService.xpt
X%%MOZDIR%%/components/gmIMenuCommand.xpt
X%%MOZDIR%%/components/greasemonkey.js
X%%MOZDIR%%/defaults/pref/greasemonkey.js
2723d1c1b5cbbf7f535dbfb164bdd41b
exit
--- greasemonkey-0.8.2.shar ends here ---

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



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