2013-03-21 17:32:34 +00:00
|
|
|
# Created by: uyamba@gmail.com
|
2007-06-11 12:40:02 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qmpdclient
|
2011-11-01 11:36:37 +00:00
|
|
|
PORTVERSION= 1.2.2
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 1
|
2007-06-11 12:40:02 +00:00
|
|
|
CATEGORIES= audio
|
2011-06-17 15:50:51 +00:00
|
|
|
MASTER_SITES= http://dump.bitcheese.net/files/
|
2007-06-11 12:40:02 +00:00
|
|
|
|
|
|
|
MAINTAINER= uyamba@gmail.com
|
2011-06-17 15:50:51 +00:00
|
|
|
COMMENT= Easy to use musicpd client written in Qt4
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2015-08-18 20:02:35 +00:00
|
|
|
USES= qmake tar:bzip2
|
2013-11-22 12:55:00 +00:00
|
|
|
USE_QT4= moc_build rcc_build uic_build \
|
2011-11-01 11:36:37 +00:00
|
|
|
corelib gui network xml xmlpatterns
|
2011-06-17 15:50:51 +00:00
|
|
|
INSTALLS_ICONS= yes
|
2007-09-23 05:58:38 +00:00
|
|
|
|
2013-03-21 17:32:34 +00:00
|
|
|
OPTIONS_DEFINE= DBUS NLS DEBUG
|
2007-06-11 12:40:02 +00:00
|
|
|
|
2007-09-23 05:58:38 +00:00
|
|
|
DATADIR= ${PREFIX}/share/QMPDClient
|
2009-12-24 21:40:17 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2007-09-23 05:58:38 +00:00
|
|
|
|
2015-08-18 20:02:35 +00:00
|
|
|
OPTIONS_SUB= NLS
|
2008-09-27 20:02:58 +00:00
|
|
|
|
2015-08-18 20:02:35 +00:00
|
|
|
NLS_USE= QT4=linguisttools_build
|
2007-09-23 05:58:38 +00:00
|
|
|
|
2015-08-18 20:02:35 +00:00
|
|
|
DBUS_QMAKE_ON= CONFIG+=qdbus
|
|
|
|
DBUS_USE= QT4=dbus
|
2007-09-23 05:58:38 +00:00
|
|
|
|
2015-08-18 20:02:35 +00:00
|
|
|
DEBUG_QMAKE_ON= CONFIG+=debug
|
|
|
|
|
2011-06-17 15:50:51 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
|
|
|
|
-e 's|lupdate|lupdate-qt4|' \
|
|
|
|
-e 's|lrelease|lrelease-qt4|' \
|
2013-11-22 12:55:00 +00:00
|
|
|
${WRKSRC}/${PORTNAME}.pro
|
2011-06-17 15:50:51 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
|
|
|
|
${WRKSRC}/src/notifications_dbus.cpp
|
|
|
|
|
2015-09-25 11:50:12 +00:00
|
|
|
post-patch-NLS-off:
|
|
|
|
@${REINPLACE_CMD} -e '/INSTALLS += translations/d' \
|
|
|
|
${WRKSRC}/${PORTNAME}.pro
|
|
|
|
|
2013-03-21 17:32:34 +00:00
|
|
|
.include <bsd.port.mk>
|