blob: 1ac3287ecada2d9ea19016a9b835bc82ac22a28f (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# $FreeBSD$
PORTNAME= gmtk
PORTVERSION= 1.0.8
CATEGORIES= multimedia gnome devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for gnome-mplayer and gecko-mediaplayer
LICENSE= GPLv2
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= glib20
USE_LDCONFIG= yes
USE_PERL5_BUILD= yes
USE_PKGCONFIG= build
USE_XORG= x11
USES= pathfix
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
OPTIONS_DEFINE= ALSA DOCS GCONF GIO GTK3 NLS PULSEAUDIO
GIO_DESC= Use GIO for file I/O
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MALSA}
LIB_DEPENDS+= asound:${PORTSDIR}/audio/alsa-lib
CONFIGURE_ARGS+= --with-alsa
.else
CONFIGURE_ARGS+= --without-alsa
.endif
.if ${PORT_OPTIONS:MGCONF}
USE_GNOME+= gconf2
CONFIGURE_ARGS+= --enable-gconf --enable-gsettings
.else
CONFIGURE_ARGS+= --disable-gconf --enable-keystore
.endif
.if ${PORT_OPTIONS:MGIO}
CONFIGURE_ARGS+= --with-gio
.else
CONFIGURE_ARGS+= --without-gio
.endif
.if ${PORT_OPTIONS:MGTK3}
USE_GNOME+= gtk30
CONFIGURE_ARGS+= --enable-gtk3
.else
USE_GNOME+= gtk20
CONFIGURE_ARGS+= --disable-gtk3
.endif
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MPULSEAUDIO}
CONFIGURE_ARGS+= --with-pulseaudio
.else
CONFIGURE_ARGS+= --without-pulseaudio
.endif
CPPFLAGS+= -I${LOCALBASE}/include
.if empty(PORT_OPTIONS:MDOCS)
post-patch:
@${REINPLACE_CMD} \
-e 's/install-data-am: install-gmtkdocDATA/install-data-am:/' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>
|