1 # $NetBSD: Makefile,v 1.28 2013/01/26 21:38:28 adam Exp $
4 .
include "../../multimedia/totem/Makefile.common"
6 DEPENDS
+= gst-plugins0.10
-soup-
[0-9]*:..
/..
/net
/gst-plugins0.10
-soup
8 PKGNAME
= ${DISTNAME
:S
/totem
/totem-browser-plugin
/}
11 # override Makefile.common
12 PLIST_SRC
= ${.CURDIR
}/PLIST
15 COMMENT
+= (gecko plugin
)
17 CONFIGURE_ARGS
+= --enable-browser-plugins
19 BROWSER_PLUGINS
= cone gmp mully narrowspace
21 INSTALLATION_DIRS
= lib
/netscape
/plugins
22 INSTALLATION_DIRS
+= libexec
25 .for plugin in
${BROWSER_PLUGINS}
26 cd
${WRKSRC}/browser-plugin
&& ${LIBTOOL} --mode
=install ${INSTALL_DATA} \
27 libtotem-
${plugin}-plugin.la
${DESTDIR}${PREFIX}/lib
/netscape
/plugins
29 cd
${WRKSRC}/browser-plugin
&& ${LIBTOOL} --mode
=install ${INSTALL_PROGRAM} \
30 totem-plugin-viewer
${DESTDIR}${PREFIX}/libexec
32 BUILDLINK_API_DEPENDS.shared-mime-info
+= shared-mime-info
>=0.22
33 .
include "../../databases/shared-mime-info/buildlink3.mk"
34 .
include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
35 .
include "../../multimedia/gst-plugins0.10-good/buildlink3.mk"
36 .
include "../../multimedia/gstreamer0.10/buildlink3.mk"
37 .
include "../../x11/libunique/buildlink3.mk"
38 .
include "../../x11/startup-notification/buildlink3.mk"
39 .
include "../../mk/bsd.pkg.mk"