aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/katchtv/Makefile
blob: 0636689dc88a40edc6d86bb65ff8dfca7f3b9a11 (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
# New ports collection makefile for:    katchtv
# Date created:     2006-05-02
# Whom:         Nicola Vitale   <nivit@email.it>
#
# $FreeBSD$
#

PORTNAME=   katchtv
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= multimedia kde python
MASTER_SITES=   http://www.digitalunleashed.com/downloads/${PORTNAME}/ \
        http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/
DISTNAME=   ${PORTNAME}_latest_release
DIST_SUBDIR=    ${PORTNAME}/${PORTVERSION}

MAINTAINER= nivit@FreeBSD.org
COMMENT=    An Internet TV application (for KDE)

RUN_DEPENDS=    kdepyuic:${PORTSDIR}/x11-toolkits/py-kde \
        kaffeine:${PORTSDIR}/multimedia/kaffeine

NO_BUILD=   yes
USE_BZIP2=  yes

WRKSRC= ${WRKDIR}/KatchTV

FIND_DELETE=    -type f  \( -name "README*" -or -name "LICENSE*" -or -name MANIFEST -or -name TODO -or -name ChangeLog -or -name PKG-INFO \)
FIND_DIRS=  -type d
FIND_DATA=  -type f

LN_OPTS=    -sf

KATCHTV_SCRIPT= KatchTV

post-extract:
    cd ${WRKSRC} && ${FIND} . ${FIND_DELETE} -delete

do-install:
    cd ${WRKSRC} && ${FIND} . ${FIND_DIRS} -exec ${MKDIR} ${DATADIR}/{} ";"
    cd ${WRKSRC} && ${FIND} . ${FIND_DATA} -exec ${INSTALL_DATA} {} ${DATADIR}/{} ";"
    ${INSTALL_SCRIPT} ${WRKSRC}/${KATCHTV_SCRIPT} ${DATADIR}/${KATCHTV_SCRIPT}
    ${LN} ${LN_OPTS} ${DATADIR}/${KATCHTV_SCRIPT} ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>