blob: 6c2a5d5f44eabf3877adc64efc0a4be56d453da3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Cezary Morga <cm@therek.net>
# $FreeBSD$
PORTNAME= quimup
PORTVERSION= 1.3.2
CATEGORIES= audio
MASTER_SITES= SF/musicpd/Quimup/${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt4 client for MPD (the Music Player Daemon)
LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient \
libtag.so:${PORTSDIR}/audio/taglib
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
USES= pkgconfig qmake
USE_QT4= corelib gui network \
moc_build rcc_build uic_build
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
DESKTOP_ENTRIES="Quimup" "MPD client" \
"${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \
"Audio;AudioVideo;Qt;" true
post-patch:
@${REINPLACE_CMD} -e \
'/^CONFIG/s|-O2|| ; \
s|^QMAKE_|#QMAKE_|' ${WRKSRC}/${PORTNAME}.pro
@${REINPLACE_CMD} -e \
'/^#define get_time/d' ${WRKSRC}/src/qm_playlistview.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/src/resources/mn_icon.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
.include <bsd.port.mk>
|