Lines 2-9
Link Here
|
2 |
# $FreeBSD: head/multimedia/gxine/Makefile 351936 2014-04-23 13:25:16Z tijl $ |
2 |
# $FreeBSD: head/multimedia/gxine/Makefile 351936 2014-04-23 13:25:16Z tijl $ |
3 |
|
3 |
|
4 |
PORTNAME= gxine |
4 |
PORTNAME= gxine |
5 |
PORTVERSION= 0.5.907 |
5 |
PORTVERSION= 0.5.908 |
6 |
PORTREVISION= 7 |
|
|
7 |
CATEGORIES= multimedia |
6 |
CATEGORIES= multimedia |
8 |
MASTER_SITES= SF/xine/${PORTNAME}/${PORTVERSION} |
7 |
MASTER_SITES= SF/xine/${PORTNAME}/${PORTVERSION} |
9 |
|
8 |
|
Lines 16-25
Link Here
|
16 |
libmozjs185.so:${PORTSDIR}/lang/spidermonkey185 \ |
15 |
libmozjs185.so:${PORTSDIR}/lang/spidermonkey185 \ |
17 |
libxine.so:${PORTSDIR}/multimedia/libxine |
16 |
libxine.so:${PORTSDIR}/multimedia/libxine |
18 |
|
17 |
|
19 |
OPTIONS_DEFINE= MOZILLA_PLUGIN GNOME LIRC |
18 |
USES= desktop-file-utils gmake libtool pathfix pkgconfig tar:xz |
20 |
MOZILLA_PLUGIN_DESC= Mozilla plugin |
|
|
21 |
|
22 |
USES= gmake libtool:keepla pathfix pkgconfig tar:xz |
23 |
USE_GNOME= gtk20 |
19 |
USE_GNOME= gtk20 |
24 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
25 |
CONFIGURE_ARGS= --without-hal --with-libintl-prefix=${LOCALBASE} |
21 |
CONFIGURE_ARGS= --without-hal --with-libintl-prefix=${LOCALBASE} |
Lines 28-60
Link Here
|
28 |
CPPFLAGS+= -I${LOCALBASE}/include |
24 |
CPPFLAGS+= -I${LOCALBASE}/include |
29 |
LDFLAGS+= -L${LOCALBASE}/lib |
25 |
LDFLAGS+= -L${LOCALBASE}/lib |
30 |
|
26 |
|
|
|
27 |
OPTIONS_DEFINE= GNOME LIRC WEBPLUGIN |
28 |
OPTIONS_SUB= yes |
29 |
|
30 |
GNOME_BUILD_DEPENDS= gnome-screensaver:${PORTSDIR}/x11/gnome-screensaver |
31 |
GNOME_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib |
32 |
GNOME_RUN_DEPENDS= gnome-screensaver:${PORTSDIR}/x11/gnome-screensaver |
33 |
GNOME_CONFIGURE_ON= --with-dbus |
34 |
GNOME_CONFIGURE_OFF= --disable-integration-wizard --without-dbus |
35 |
LIRC_LIB_DEPENDS= liblirc_client.so:${PORTSDIR}/comms/lirc |
36 |
LIRC_CONFIGURE_ON= --enable-lirc |
37 |
LIRC_CONFIGURE_OFF= --disable-lirc |
38 |
WEBPLUGIN_DESC= Build and/or install Web browser plugins |
39 |
WEBPLUGIN_USE= xorg=xaw |
40 |
WEBPLUGIN_USES= webplugin:native |
41 |
WEBPLUGIN_CONFIGURE_OFF= --without-browser-plugin |
42 |
|
31 |
.include <bsd.port.options.mk> |
43 |
.include <bsd.port.options.mk> |
32 |
|
44 |
|
33 |
.if ${PORT_OPTIONS:MMOZILLA_PLUGIN} |
45 |
.if ${PORT_OPTIONS:MWEBPLUGIN} |
34 |
USE_XORG+= xaw |
|
|
35 |
USES+= webplugin:native |
36 |
WEBPLUGIN_DIR= ${PREFIX}/lib/gxine |
46 |
WEBPLUGIN_DIR= ${PREFIX}/lib/gxine |
37 |
WEBPLUGIN_FILES=gxineplugin.so |
47 |
WEBPLUGIN_FILES=gxineplugin.so |
38 |
PLIST_SUB+= MOZILLA_PLUGIN="" |
|
|
39 |
.else |
40 |
CONFIGURE_ARGS+=--without-browser-plugin |
41 |
PLIST_SUB+= MOZILLA_PLUGIN="@comment " |
42 |
.endif |
43 |
|
44 |
.if ${PORT_OPTIONS:MGNOME} |
45 |
BUILD_DEPENDS+= gnome-screensaver:${PORTSDIR}/x11/gnome-screensaver |
46 |
LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib |
47 |
RUN_DEPENDS+= gnome-screensaver:${PORTSDIR}/x11/gnome-screensaver |
48 |
CONFIGURE_ARGS+=--with-dbus |
49 |
.else |
50 |
CONFIGURE_ARGS+=--disable-integration-wizard --without-dbus |
51 |
.endif |
52 |
|
53 |
.if ${PORT_OPTIONS:MLIRC} |
54 |
LIB_DEPENDS+= liblirc_client.so:${PORTSDIR}/comms/lirc |
55 |
CONFIGURE_ARGS+=--enable-lirc |
56 |
.else |
57 |
CONFIGURE_ARGS+=--disable-lirc |
58 |
.endif |
48 |
.endif |
59 |
|
49 |
|
60 |
post-patch: |
50 |
post-patch: |
Lines 66-69
Link Here
|
66 |
@${REINPLACE_CMD} -e \ |
56 |
@${REINPLACE_CMD} -e \ |
67 |
's|@MAKE_PNG_TRUE@|#|' ${WRKSRC}/pixmaps/Makefile.in |
57 |
's|@MAKE_PNG_TRUE@|#|' ${WRKSRC}/pixmaps/Makefile.in |
68 |
|
58 |
|
|
|
59 |
post-install: |
60 |
.if ${PORT_OPTIONS:MWEBPLUGIN} |
61 |
@${STRIP_CMD} ${STAGEDIR}${WEBPLUGIN_DIR}/${WEBPLUGIN_FILES} |
62 |
.endif |
63 |
|
69 |
.include <bsd.port.mk> |
64 |
.include <bsd.port.mk> |