1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/multimedia/kaffeine-mozilla/Makefile
Jeremy Messenger 15b6544926 Add a new framework for browser plugins, USE_WEBPLUGINS. It is for which foo
plugins support one of web browsers and can take care of plist (depend on how
you use it) at the same time. I have written a complete document and even show
how it works in the www/firefox/Makefile.webplugins so be sure to read in
there. If there is anything that isn't clear in the document, please feel free
to ask and I will try my best to improvement it.

FYI: GNOME 2.24 depends on this, so it's coming.

BTW: It's based on www/linux-mplayer-plugin/Makefile.npapi with heavy modified.

Approved by:	portmgr
2009-01-10 02:45:46 +00:00

37 lines
922 B
Makefile

# 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= 10
CATEGORIES= multimedia
MASTER_SITES= SF/kaffeine
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:15
.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>