724a9dcc08
PR: 197155 Differential Revision: https://reviews.freebsd.org/D1720 Submitted by: lgfbsd@be-well.ilk.org (maintainer) Approved by: bapt (mentor) ChangeLog: - Add pt_BR translation
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gmtp
|
|
PORTVERSION= 1.3.9
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME}/gMTP-${PORTVERSION}/
|
|
|
|
MAINTAINER= freebsd-ports-local@be-well.ilk.org
|
|
COMMENT= Media Transfer Protocol (MTP) GUI client
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LIB_DEPENDS= libmtp.so:${PORTSDIR}/multimedia/libmtp \
|
|
libid3tag.so:${PORTSDIR}/audio/libid3tag \
|
|
libFLAC.so:${PORTSDIR}/audio/flac \
|
|
libvorbis.so:${PORTSDIR}/audio/libvorbis
|
|
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
USES= gmake pkgconfig
|
|
USE_GNOME= glib20
|
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog README
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_RADIO= GTK
|
|
OPTIONS_RADIO_GTK= GTK2 GTK3
|
|
OPTIONS_DEFAULT= GTK2
|
|
OPTIONS_SUB= yes
|
|
|
|
GTK3_USE= GNOME=gtk30
|
|
GTK3_CONFIGURE_WITH= gtk3
|
|
GTK2_USE= GNOME=gtk20,gconf2
|
|
GTK2_CONFIGURE_WITH= gtk2
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MGTK2}
|
|
GCONF_SCHEMAS= gmtp.schemas
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGTK3}
|
|
GLIB_SCHEMAS= org.gnome.gmtp.gschema.xml
|
|
.endif
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|