2013-03-06 22:31:04 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gmtp
|
|
|
|
PORTVERSION= 1.3.4
|
2013-06-09 19:30:58 +00:00
|
|
|
PORTREVISION= 2
|
2013-03-06 22:31:04 +00:00
|
|
|
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
|
|
|
|
|
2014-03-09 19:40:40 +00:00
|
|
|
LIB_DEPENDS= libmtp.so:${PORTSDIR}/multimedia/libmtp \
|
2013-12-11 14:35:36 +00:00
|
|
|
libid3tag.so:${PORTSDIR}/audio/libid3tag \
|
|
|
|
libFLAC.so:${PORTSDIR}/audio/flac \
|
|
|
|
libvorbis.so:${PORTSDIR}/audio/libvorbis
|
2013-03-06 22:31:04 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/gMTP
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2013-09-08 08:27:08 +00:00
|
|
|
USES= gettext gmake pkgconfig
|
2013-03-06 22:31:04 +00:00
|
|
|
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
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MGTK3}
|
|
|
|
USE_GNOME+= gtk30
|
|
|
|
GLIB_SCHEMAS= org.gnome.gmtp.gschema.xml
|
|
|
|
ALL_TARGET= gtk3
|
2013-12-23 14:33:58 +00:00
|
|
|
INSTALL_TARGET= install-gtk3
|
2013-03-06 22:31:04 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2013-12-23 14:33:58 +00:00
|
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-doc)
|
2013-03-06 22:31:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|