aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozex/Makefile
blob: 157a0af0d009149b95ad3dfaff2f717bb2167834 (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
# Ports collection makefile for:  mozex
# Date created:           Sun Oct 26, 2003
# Whom:               Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#    $MCom: ports/www/mozex/Makefile,v 1.2 2006/09/22 19:52:59 mezz Exp $
#

PORTNAME=   mozex
PORTVERSION=    1.07
PORTREVISION=   10
CATEGORIES= www mail news ftp
MASTER_SITES=   ${MASTER_SITE_MOZDEV}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= thierry@FreeBSD.org
COMMENT=    Mozex allows users of ${GEKO} to use external programs for mail, news, etc.

SUB_FILES=  pkg-message
SUB_LIST=   GECKO=${GECKO}
PKGMESSAGE= ${WRKDIR}/pkg-message

PLIST_FILES=    %%MOZDIR%%/chrome/mozex.jar

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/mozex/Makefile.xpi"

.if ${GECKO} == libxul
PLIST_FILES+=   %%MOZDIR%%/chrome/installed-chrome.txt
.endif

do-install:
    @${INSTALL_DATA} ${WRKDIR}/mozex.jar ${MOZDIR}/chrome

.include <bsd.port.post.mk>