aboutsummaryrefslogtreecommitdiffstats
path: root/www/xpi-conkeror/Makefile
blob: c1459fbbb270d7e29c9abe49b80d5e0c9cd7ea8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    conkeror
# Date created:     27 April 2006
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   conkeror
PORTVERSION=    0.42
DISTVERSIONPREFIX=  firefox-
CATEGORIES= www
MASTER_SITES=   MOZDEV
PKGNAMEPREFIX?=

MAINTAINER= infofarmer@FreeBSD.org
COMMENT=    A completely keyboard driven browser based on firefox

RUN_DEPENDS=    ${CONK_APP}:${PORTSDIR}/www/${CONK_APP}

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

post-install:
    @${ECHO_CMD} exec `${WHICH} ${CONK_APP}` ${CONK_ARGS} > ${PREFIX}/bin/${CONK_EXEC}
    @${CHMOD} 555 ${PREFIX}/bin/${CONK_EXEC}

.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
.include <bsd.port.mk>