aboutsummaryrefslogtreecommitdiff
path: root/audio/quimup
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-10-13 13:03:03 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-10-13 13:03:03 +0000
commit46888a73a164ed5da8f72ce811edd6afd72f01ec (patch)
tree9d348bd41c93dc07e16d63761a277862fca2beec /audio/quimup
parentfc71c02cd1026ef1faa101623b547646ff15ca8b (diff)
downloadports-46888a73a164ed5da8f72ce811edd6afd72f01ec.tar.gz
ports-46888a73a164ed5da8f72ce811edd6afd72f01ec.zip
Notes
Diffstat (limited to 'audio/quimup')
-rw-r--r--audio/quimup/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/audio/quimup/Makefile b/audio/quimup/Makefile
index 4b8115868794..1996084363bf 100644
--- a/audio/quimup/Makefile
+++ b/audio/quimup/Makefile
@@ -8,36 +8,33 @@ MASTER_SITES= SF/musicpd/Quimup/${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= ports@FreeBSD.org
-COMMENT= Qt4 Client for MPD (the Music Player Daemon)
+COMMENT= Qt 4 client for MPD (the Music Player Daemon)
LICENSE= GPLv2 # (or later)
-LIB_DEPENDS= mpdclient:${PORTSDIR}/audio/libmpdclient
+LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
-NO_STAGE= yes
+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" "" "${PREFIX}/share/pixmaps/${PORTNAME}.png" \
+DESKTOP_ENTRIES="Quimup" "MPD client" "${PREFIX}/share/pixmaps/${PORTNAME}.png" \
"${PORTNAME}" "Audio;AudioVideo;Qt;" true
post-patch:
@${REINPLACE_CMD} -e \
- 's|qt release -O2|qt| ; \
+ '/^CONFIG/s|-O2|| ; \
s|/usr/lib/|${LOCALBASE}/lib/| ; \
s|^QMAKE_|#QMAKE_|' ${WRKSRC}/${PORTNAME}.pro
-do-configure:
- @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})
-
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
- (cd ${WRKSRC}/src/resources && ${INSTALL_DATA} mn_icon.png \
- ${PREFIX}/share/pixmaps/${PORTNAME}.png)
+ ${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>