aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kaffeine-mozilla/Makefile
blob: 804b6dce31b462b457ebfe6a58c9970d2a8b3784 (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
# New ports collection makefile for:    kaffeine-mozilla
# Date created:             2004-05-25
# Whom:                 arved
#
# $FreeBSD$
#   $MCom: ports-stable/multimedia/kaffeine-mozilla/Makefile,v 1.1 2008/08/01 23:13:21 mezz Exp $
#

PORTNAME=   kaffeine-mozilla
PORTVERSION=    0.2
PORTREVISION=   13
CATEGORIES= multimedia
MASTER_SITES=   SF/kaffeine/${PORTNAME}/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Kaffeine Mozilla plugin

RUN_DEPENDS=    kaffeine:${PORTSDIR}/multimedia/kaffeine

USE_XORG=   x11 xaw
USE_BZIP2=  yes
USE_WEBPLUGINS= native
WEBPLUGINS_FILES=kaffeineplugin.so
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include"
USE_AUTOTOOLS=  libtool:22

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

post-patch:
    ${REINPLACE_CMD} -e "s,[$$][(]prefix[)]/plugins,${WEBPLUGINS_DIR}," \
        ${WRKSRC}/src/Makefile.in
    ${REINPLACE_CMD} -e "s,echo aout, echo elf," ${WRKSRC}/configure

.include <bsd.port.post.mk>