aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozplugger/Makefile
blob: 57e14d9d2b88824bff160902b982a3392337d155 (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
# Created by: Loren M. Lang <loren@north-winds.org>
# $FreeBSD$

PORTNAME=   mozplugger
PORTVERSION=    2.1.6
CATEGORIES= www
MASTER_SITES=   http://mozplugger.mozdev.org/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Framework for loading web content in external viewers

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

GNU_CONFIGURE=  yes
USE_XORG=   x11 xt
USES=       desthack gmake webplugin:native

WEBPLUGIN_FILES=mozplugger.so
MAKE_ENV=   WEBPLUGINS_DIR="${WEBPLUGIN_DIR}"
MAKE_ARGS=  root=${STAGEDIR}

post-patch:
    @${REINPLACE_CMD} -e 's|"/etc|"${PREFIX}/etc|g' \
        ${WRKSRC}/mozplugger.c

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mozplugger-*
    @${STRIP_CMD} ${STAGEDIR}${WEBPLUGIN_DIR}/*.so

.include <bsd.port.mk>