aboutsummaryrefslogtreecommitdiff
path: root/deskutils/plasma-applet-playwolf/Makefile
blob: 5bd23ead81202e8a70dc0e0842203665f70d0928 (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
# $FreeBSD$

PORTNAME=	playwolf
PORTVERSION=	0.8.1
PORTREVISION=	4
CATEGORIES=	deskutils kde
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX=	plasma-applet-

MAINTAINER=	jhale@FreeBSD.org
COMMENT=	Amarok 2.x plasma applet for KDE4

LICENSE=	GPLv2

USES=		cmake tar:bzip2
USE_KDE4=	automoc4 kdeprefix kdelibs
USE_QT4=	gui dbus network opengl phonon svg webkit xml xmlpatterns \
		qmake_build moc_build rcc_build uic_build

PLIST_FILES=	lib/kde4/plasma_applet_playwolf.so \
		share/kde4/services/plasma-applet-playwolf.desktop

WRKSRC=		${WRKDIR}/${PORTNAME}

ADD_NEWLINE_TO=	flowlayout.cpp \
		flowlayout.h \
		lyricswidget.cpp \
		playwolf.cpp \
		playwolf.h \
		wolfbuttons.cpp \
		wolflabel.h

post-patch:
.for i in ${ADD_NEWLINE_TO}
	${ECHO_CMD} >> ${WRKSRC}/${i}
.endfor

.include <bsd.port.mk>