2012-11-04 14:05:04 +01:00
|
|
|
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
|
2009-11-28 21:30:12 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ario
|
2011-06-20 14:56:14 +02:00
|
|
|
PORTVERSION= 1.5.1
|
2014-05-13 13:54:53 +02:00
|
|
|
PORTREVISION= 7
|
2009-11-28 21:30:12 +01:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= SF/ario-player/ario-player/${PORTVERSION}
|
|
|
|
|
2012-11-04 14:05:04 +01:00
|
|
|
MAINTAINER= gblach@FreeBSD.org
|
2009-11-28 21:30:12 +01:00
|
|
|
COMMENT= Ario is a GTK2 client for MPD
|
|
|
|
|
2011-07-26 00:03:16 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-09-27 19:36:31 +02:00
|
|
|
LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \
|
|
|
|
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
|
|
|
|
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
|
|
|
|
libcurl.so:${PORTSDIR}/ftp/curl \
|
|
|
|
libnotify.so:${PORTSDIR}/devel/libnotify \
|
|
|
|
libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
|
|
|
|
libtag_c.so:${PORTSDIR}/audio/taglib \
|
|
|
|
libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique \
|
|
|
|
libmpdclient.so:${PORTSDIR}/audio/libmpdclient
|
|
|
|
|
2014-05-13 13:54:53 +02:00
|
|
|
USES= gmake libtool pathfix pkgconfig
|
2009-11-28 21:30:12 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2013-09-27 19:36:31 +02:00
|
|
|
USE_GNOME= gtk20
|
2009-11-28 21:30:12 +01:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
|
2012-06-22 02:56:45 +02:00
|
|
|
OPTIONS_DEFINE= AVAHI NLS
|
2012-06-17 21:51:49 +02:00
|
|
|
AVAHI_DESC= Zeroconf support (Avahi)
|
2009-11-28 21:30:12 +01:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-06-17 21:51:49 +02:00
|
|
|
.if ${PORT_OPTIONS:MAVAHI}
|
2013-09-27 19:36:31 +02:00
|
|
|
LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app
|
2011-07-26 00:03:16 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-avahi
|
2009-11-28 21:30:12 +01:00
|
|
|
.else
|
2011-07-26 00:03:16 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-avahi
|
|
|
|
.endif
|
|
|
|
|
2012-06-17 21:51:49 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2011-07-26 00:03:16 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
2009-11-28 21:30:12 +01:00
|
|
|
.endif
|
|
|
|
|
2013-03-08 11:51:34 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|glib/gslist.h|glib.h|g ; \
|
|
|
|
s|glib/gkeyfile.h>|glib.h>|g' \
|
|
|
|
${WRKSRC}/src/ario-util.h \
|
|
|
|
${WRKSRC}/src/plugins/ario-plugin-info.c \
|
|
|
|
${WRKSRC}/src/ario-profiles.h
|
|
|
|
|
2009-11-28 21:30:12 +01:00
|
|
|
.include <bsd.port.mk>
|