blob: 6dce542ba91ae80f06c8bb0710934a6abc70f9a6 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# New ports collection makefile for: quimup
# Date created: 2011-02-08
# Whom: Cezary Morga <cm@therek.net>
#
# $FreeBSD$
#
PORTNAME= quimup
PORTVERSION= 1.2.0
PORTREVISION= 1
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_QT4= 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>
|