aboutsummaryrefslogtreecommitdiffstats
path: root/www/xpi-firefoxonwooztalk/Makefile
blob: f8eec8c701b37b8fa9fd9cce079c4856322afb09 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:    xpi-firefoxonwooztalk
# Date created:     2008-06-13
# Whom:         David <tech@wooztalk.com>
#
# $FreeBSD$
#

PORTNAME=   firefoxonwooztalk
PORTVERSION=    0.9.9
PORTEPOCH=  1
CATEGORIES= www
MASTER_SITES=   http://www.wooztalk.com/common/download/
DISTNAME=   firefoxonwooztalk-freebsd

MAINTAINER= tech@wooztalk.com
COMMENT=    Meet your World Wide Web neighbors with Firefox

XPI_ID=     firefoxonwooztalk@wooztalk.com
XPI_FILES=  chrome.manifest install.rdf \
        content/contents.rdf content/firefoxOverlay.xul content/overlay.js \
        locale/en-US/contents.rdf locale/en-US/firefoxonwooztalk.dtd \
        locale/en-US/firefoxonwooztalk.properties locale/fr-FR/contents.rdf \
        locale/fr-FR/firefoxonwooztalk.dtd \
        locale/fr-FR/firefoxonwooztalk.properties skin/disabled.ico \
        skin/enabled.ico skin/overlay.css skin/wooztalk.ico \
        install/firefox.png install/firefox_dis.png install/libfirefox.so

XPI_DIRS=   content locale/en-US locale/fr-FR locale skin install

.include "../xpi-adblock/Makefile.xpi"

USE_LDCONFIG+=  ${PREFIX}/share/wooztalk/plugins/firefox/
PLIST_FILES+=   share/wooztalk/plugins/firefox/libfirefox.so share/wooztalk/plugins/firefox/firefox.png \
        share/wooztalk/plugins/firefox/firefox_dis.png
PLIST_FILES+=   "@dirrm share/wooztalk/plugins/firefox"
PLIST_FILES+=   "@dirrmtry share/wooztalk/plugins"
PLIST_FILES+=   "@dirrmtry share/wooztalk/"

.include <bsd.port.pre.mk>

post-install:
    @${MKDIR} ${PREFIX}/share/wooztalk
    @${MKDIR} ${PREFIX}/share/wooztalk/plugins
    @${MKDIR} ${PREFIX}/share/wooztalk/plugins/firefox
    @${INSTALL_DATA} ${WRKSRC}/install/* ${PREFIX}/share/wooztalk/plugins/firefox
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>