blob: 1c3bb00bbe055e8682919a56b4862bc25b106f4f (
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
|
# $FreeBSD$
PORTNAME= gmtp
PORTVERSION= 1.3.4
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/gMTP-${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-i386
MAINTAINER= freebsd-ports-local@be-well.ilk.org
COMMENT= Media Transfer Protocol (MTP) GUI client
LICENSE= BSD
LIB_DEPENDS= mtp:${PORTSDIR}/audio/libmtp \
id3tag:${PORTSDIR}/audio/libid3tag \
FLAC:${PORTSDIR}/audio/flac \
vorbis:${PORTSDIR}/audio/libvorbis
WRKSRC= ${WRKDIR}/gMTP
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= gettext gmake pkgconfig
USE_GNOME= glib20
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_RADIO= GTK
OPTIONS_RADIO_GTK= GTK2 GTK3
OPTIONS_DEFAULT= GTK2
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGTK2}
USE_GNOME+= gtk20 gconf2
GCONF_SCHEMAS= gmtp.schemas
ALL_TARGET= gtk2
INSTALL_TARGET= register-gconf-schemas
.endif
.if ${PORT_OPTIONS:MGTK3}
USE_GNOME+= gtk30
GLIB_SCHEMAS= org.gnome.gmtp.gschema.xml
ALL_TARGET= gtk3
INSTALL_TARGET= register-gsettings-schemas
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC} && ${GMAKE} install-doc
.endif
.include <bsd.port.mk>
|