aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-10-13 21:03:03 +0800
committermakc <makc@FreeBSD.org>2013-10-13 21:03:03 +0800
commita24b5a9439576d52b7a1e94d6c4dd3f0e5d8c13e (patch)
tree9d348bd41c93dc07e16d63761a277862fca2beec /audio
parent59c0a46aa2540ee31e961d5f970ecb9f7804f01e (diff)
downloadfreebsd-ports-gnome-a24b5a9439576d52b7a1e94d6c4dd3f0e5d8c13e.tar.gz
freebsd-ports-gnome-a24b5a9439576d52b7a1e94d6c4dd3f0e5d8c13e.tar.zst
freebsd-ports-gnome-a24b5a9439576d52b7a1e94d6c4dd3f0e5d8c13e.zip
- Convert unmaintained ports to USES=qmake
- Add stage support - Convert LIB_DEPENDS to new syntax - Minor changes/fixes
Diffstat (limited to 'audio')
-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>