mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Update to 20090821
- Take maintainership to Submitter [1] - Connect to the build PR: ports/136010 ports/138022 Submitted by: Anonymous <swell.k@gmail.com> Submitted by: Ashish SHUKLA <wahjava@gmail.com> [1]
This commit is contained in:
parent
0a29e3508d
commit
533211e855
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240930
@ -101,7 +101,6 @@
|
||||
SUBDIR += codeigniter
|
||||
SUBDIR += comclear
|
||||
SUBDIR += commonist
|
||||
SUBDIR += conkeror
|
||||
SUBDIR += contenido
|
||||
SUBDIR += coppermine
|
||||
SUBDIR += crawl
|
||||
@ -1671,6 +1670,7 @@
|
||||
SUBDIR += xpi-clearfields
|
||||
SUBDIR += xpi-close-all-tabs
|
||||
SUBDIR += xpi-colorfultabs
|
||||
SUBDIR += xpi-conkeror
|
||||
SUBDIR += xpi-cookiesafe
|
||||
SUBDIR += xpi-cssviewer
|
||||
SUBDIR += xpi-customizegoogle
|
||||
|
@ -6,30 +6,50 @@
|
||||
#
|
||||
|
||||
PORTNAME= conkeror
|
||||
PORTVERSION= 0.42
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONPREFIX= firefox-
|
||||
PORTVERSION= 20090821
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= MOZDEV
|
||||
PKGNAMEPREFIX?=
|
||||
MASTER_SITES= http://mirror.4bit.ws/ \
|
||||
${MASTER_SITE_LOCAL} \
|
||||
${MASTER_SITE_FREEBSD}
|
||||
MASTER_SITE_SUBDIR= dhn
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= wahjava@gmail.com
|
||||
COMMENT= A completely keyboard driven browser based on firefox
|
||||
|
||||
RUN_DEPENDS= ${CONK_APP}:${PORTSDIR}/www/${CONK_APP}
|
||||
WRKSRC= ${WRKDIR}/conkeror
|
||||
USE_GECKO= libxul
|
||||
|
||||
CONK_ARGS= -chrome chrome://conkeror/content
|
||||
CONK_APP?= ${PKGNAMEPREFIX}firefox
|
||||
CONK_EXEC?= ${PKGNAMEPREFIX}${PORTNAME}
|
||||
USE_XPI= ${CONK_APP}
|
||||
PLIST_FILES= bin/${CONK_EXEC}
|
||||
XPI_ID= {a79fe89b-6662-4ff4-8e88-09950ad4dfde}
|
||||
XPI_FILES= chrome/conkeror.jar components/nsCrank.js install.rdf chrome.manifest
|
||||
XPI_DIRS= chrome components
|
||||
BUILD_ID=echo -n `whoami`@`hostname`_`date +%s`
|
||||
|
||||
post-patch:
|
||||
cd ${WRKSRC} && \
|
||||
${REINPLACE_CMD} -e "s/%%PREFIX%%/${PREFIX:S/\//\\\//g}/g" \
|
||||
${WRKSRC}/conkeror && \
|
||||
${MV} debian/conkeror.desktop . && \
|
||||
${RM} -rf debian tests && \
|
||||
${MKDIR} share && \
|
||||
${MV} branding chrome components content \
|
||||
contrib defaults locale modules search-engines help style share
|
||||
|
||||
do-build:
|
||||
${MAKE} -C ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/libexec/conkeror
|
||||
${MKDIR} ${DESKTOPDIR}
|
||||
cd ${WRKSRC}/share && ${COPYTREE_SHARE} . ${DATADIR}
|
||||
${SED} -e "s/BuildID=git/BuildID=$$(${BUILD_ID})/g" \
|
||||
-e "s/^Version=\(.*\)$$/Version=\1 (FreeBSD-${OSREL})/g" \
|
||||
<${WRKSRC}/application.ini >${DATADIR}/application.ini
|
||||
${REINPLACE_CMD} -e "s/\\\$$CONKEROR_VERSION\\$$/`${GREP} \
|
||||
'^Version=' ${WRKSRC}/application.ini |${SED} \
|
||||
-e 's/^Version=//'` (FreeBSD-${OSREL})/g" ${DATADIR}/components/application.js
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/conkeror ${PREFIX}/bin/
|
||||
${INSTALL_DATA} ${WRKSRC}/conkeror.desktop ${DESKTOPDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/conkeror-spawn-helper ${PREFIX}/libexec/conkeror/
|
||||
${LN} -sf ${PREFIX}/libexec/conkeror/conkeror-spawn-helper ${DATADIR}/
|
||||
|
||||
post-install:
|
||||
@${ECHO_CMD} exec `${WHICH} ${CONK_APP}` ${CONK_ARGS} > ${PREFIX}/bin/${CONK_EXEC}
|
||||
@${CHMOD} 555 ${PREFIX}/bin/${CONK_EXEC}
|
||||
@-update-desktop-database
|
||||
|
||||
.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (xpi/conkeror-firefox-0.42.xpi) = db3fd94485ced11e6a6685064a0c2e8e
|
||||
SHA256 (xpi/conkeror-firefox-0.42.xpi) = 64bd54093b96ba5897a1180d3aeb56e48a6edf9b83750c5fb5675bfdb0d272de
|
||||
SIZE (xpi/conkeror-firefox-0.42.xpi) = 62867
|
||||
MD5 (conkeror-20090821.tar.gz) = c6563dfec0802cf7e28f826edbdf953a
|
||||
SHA256 (conkeror-20090821.tar.gz) = a6e5a66ee2f8997e2d4ea769a2d6df0226e8f4c726f20535b45bc75b0098feb9
|
||||
SIZE (conkeror-20090821.tar.gz) = 238630
|
||||
|
18
www/xpi-conkeror/files/patch-conkeror
Normal file
18
www/xpi-conkeror/files/patch-conkeror
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- conkeror.orig
|
||||
+++ conkeror
|
||||
@@ -0,0 +1,12 @@
|
||||
+#!/bin/sh
|
||||
+
|
||||
+XULRUNNER=$(which xulrunner)
|
||||
+
|
||||
+if [ -z "${XULRUNNER}" ]; then
|
||||
+ echo Unable to locate xulrunner binary.
|
||||
+elif [ ! -x "${XULRUNNER}" ]; then
|
||||
+ echo ${XULRUNNER} is not executable.
|
||||
+else
|
||||
+ exec ${XULRUNNER} /usr/local/share/conkeror/application.ini
|
||||
+fi
|
||||
+
|
@ -5,4 +5,4 @@ means all the keybindings and to-die-for features of
|
||||
Emacs that can be imitated by a javascript/XUL web
|
||||
browser Just Work.
|
||||
|
||||
WWW: http://conkeror.mozdev.org/
|
||||
WWW: http://conkeror.org/
|
||||
|
Loading…
Reference in New Issue
Block a user