1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/audio/gmtp/Makefile
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00

54 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:multimedia/libmtp \
libid3tag.so:audio/libid3tag \
libFLAC.so:audio/flac \
libvorbis.so: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>