blob: 1996084363bf09fa88dfc38ed5640754b4dc742f (
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
|
# Created by: Cezary Morga <cm@therek.net>
# $FreeBSD$
PORTNAME= quimup
PORTVERSION= 1.3.0
CATEGORIES= audio
MASTER_SITES= SF/musicpd/Quimup/${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt 4 client for MPD (the Music Player Daemon)
LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
USES= qmake
USE_QT4= corelib gui network \
moc_build qmake_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|/usr/lib/|${LOCALBASE}/lib/| ; \
s|^QMAKE_|#QMAKE_|' ${WRKSRC}/${PORTNAME}.pro
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>
|