aboutsummaryrefslogtreecommitdiff
path: root/www/xpi-conkeror/Makefile
blob: 7a846cda1f4679b2753c5766baa8fcf48b1235e0 (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
35
# New ports collection makefile for:	conkeror
# Date created:		27 April 2006
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	conkeror
PORTVERSION=	0.42
PORTREVISION=	1
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>