blob: 338d6577e9e0e0afe31cf91b6206a27b3db2daec (
plain)
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
|
PORTNAME= gmtk
PORTVERSION= 1.0.9
PORTREVISION= 1
CATEGORIES= multimedia gnome devel
MASTER_SITES= https://pkgs.rpmfusion.org/repo/pkgs/free/gmtk/gmtk-1.0.9.tar.gz/9184658014ca7b325b569ac7417e4860/
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for gnome-mplayer and gecko-mediaplayer
LICENSE= GPLv2
BUILD_DEPENDS= p5-XML-Parser>0:textproc/p5-XML-Parser
USES= gettext gmake gnome libtool pathfix perl5 pkgconfig xorg
USE_XORG= x11
USE_GNOME= glib20 intltool
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gconf
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= ALSA DOCS GIO GTK3 PULSEAUDIO
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CONFIGURE_WITH= alsa
GIO_CONFIGURE_WITH= gio
GTK3_USE= gnome=gtk30
GTK3_CONFIGURE_ENABLE= gtk3
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_WITH= pulseaudio
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MGTK3}
USE_GNOME+= gtk20
.endif
post-patch:
@${REINPLACE_CMD} -e \
'/COPYING\\/d ; \
/INSTALL\\/d' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
|