blob: 4decb43846ba46e9f79aa7976010fe823aed7381 (
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
|
# $FreeBSD$
PORTNAME= amarok-fs
PORTVERSION= 0.5
PORTREVISION= 12
CATEGORIES= audio kde
MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
DISTNAME= 52641-amarokFS-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A full screen application for Amarok
DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE= 2013-07-01
PATCH_DEPENDS= qmake:${PORTSDIR}/devel/qmake
BUILD_DEPENDS= ${PATCH_DEPENDS}
RUN_DEPENDS= amarok:${PORTSDIR}/audio/amarok
USE_GMAKE= yes
USE_KDELIBS_VER=3
INSTALLS_ICONS= yes
WRKSRC= ${WRKDIR}/amarokFS-${PORTVERSION}
PORTDOCS= README theme-howto.txt
MAKE_ENV+= QTDIR="${QT_PREFIX}" QMAKESPEC="freebsd-g++"
DOCSDIR= ${PREFIX}/share/doc/amarokFS
QMAKE= ${LOCALBASE}/bin/qmake -unix -o
.include <bsd.port.options.mk>
post-extract:
${REINPLACE_CMD} -e 's|/usr/share/icons/amarokFS.png|amarokFS|' \
${WRKSRC}/amarokFS.desktop
${REINPLACE_CMD} -e 's|/usr/share/|${PREFIX}/share/|g' \
${WRKSRC}/amfs-xml.cpp
post-patch:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${QMAKE} Makefile amarokFS-xml.pro
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|