1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/audio/quimup/Makefile
Martin Wilke f3581f6772 QUIMUP is a 'graphical' client for the music player daemon (MPD)
written in C++ and QT4.

Features include:

* Support for (locally stored) albumart.
* Support for audio streams (url).
* Drag & drop playlist management.
* Database browser (artist, album, genre, folder & playlist mode)
* Database search (artist, album, genre & title mode).
* Quick search-and-select in the playlist.
* Mini-mode interface for basic control only.
* Open folder in external programs to edit tags etc.
* Generally a quick and clean application.

WWW: http://coonsden.com/?page_id=145

PR:		ports/154702
Submitted by:	Cezary Morga <cm at therek.net>
2011-02-13 11:07:12 +00:00

60 lines
1.8 KiB
Makefile

# New ports collection makefile for: quimup
# Date created: 2011-02-08
# Whom: Cezary Morga <cm@therek.net>
#
# $FreeBSD$
#
PORTNAME= quimup
PORTVERSION= 1.2.0
CATEGORIES= audio
MASTER_SITES= SF
MASTER_SITE_SUBDIR=musicpd/Quimup/${PORTVERSION}
DISTNAME= ${PORTNAME}_${DISTVERSION}_source
MAINTAINER= cm@therek.net
COMMENT= QT4 Client for MPD (the Music Player Daemon)
LIB_DEPENDS= mpdclient.2:${PORTSDIR}/audio/libmpdclient
USE_QT_VER= 4
QT_COMPONENTS= corelib gui network \
qmake_build moc_build rcc_build uic_build
QMAKE_ARGS= PREFIX=${PREFIX}
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
PLIST_FILES= bin/${PORTNAME} \
share/icons/hicolor/32x32/apps/${PORTNAME}.png \
share/icons/hicolor/48x48/apps/${PORTNAME}.png \
share/icons/hicolor/64x64/apps/${PORTNAME}.png
PLIST_DIRS= share/icons/hicolor/32x32/apps \
share/icons/hicolor/32x32 \
share/icons/hicolor/48x48/apps \
share/icons/hicolor/48x48 \
share/icons/hicolor/64x64/apps \
share/icons/hicolor/64x64 \
share/icons/hicolor \
share/icons
.include <bsd.port.pre.mk>
do-configure:
${REINPLACE_CMD} -e 's|/usr/lib/libmpdclient.so|${LOCALBASE}/lib/libmpdclient.so|' \
${WRKSRC}/${PORTNAME}.pro
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKE_ARGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/icons/hicolor/32x32/apps
${MKDIR} ${PREFIX}/share/icons/hicolor/48x48/apps
${MKDIR} ${PREFIX}/share/icons/hicolor/64x64/apps
${INSTALL_DATA} ${WRKSRC}/Icons/${PORTNAME}32.png \
${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png
${INSTALL_DATA} ${WRKSRC}/Icons/${PORTNAME}48.png \
${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png
${INSTALL_DATA} ${WRKSRC}/Icons/${PORTNAME}64.png \
${PREFIX}/share/icons/hicolor/64x64/apps/${PORTNAME}.png
.include <bsd.port.post.mk>