1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/audio/qmpdclient/Makefile

48 lines
1016 B
Makefile
Raw Normal View History

# Created by: uyamba@gmail.com
# $FreeBSD$
PORTNAME= qmpdclient
PORTVERSION= 1.2.2
2012-06-01 05:26:28 +00:00
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://dump.bitcheese.net/files/
MAINTAINER= uyamba@gmail.com
COMMENT= Easy to use musicpd client written in Qt4
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= qmake tar:bzip2
USE_QT4= moc_build rcc_build uic_build \
corelib gui network xml xmlpatterns
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DBUS NLS DEBUG
DATADIR= ${PREFIX}/share/QMPDClient
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_SUB= NLS
NLS_USE= QT4=linguisttools_build
DBUS_QMAKE_ON= CONFIG+=qdbus
DBUS_USE= QT4=dbus
DEBUG_QMAKE_ON= CONFIG+=debug
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
-e 's|lupdate|lupdate-qt4|' \
-e 's|lrelease|lrelease-qt4|' \
${WRKSRC}/${PORTNAME}.pro
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
${WRKSRC}/src/notifications_dbus.cpp
post-patch-NLS-off:
@${REINPLACE_CMD} -e '/INSTALLS += translations/d' \
${WRKSRC}/${PORTNAME}.pro
.include <bsd.port.mk>