aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/yoono/Makefile
blob: 0f0cea88b2bc029bdf74b4ce92b203c9783368eb (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
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$

PORTNAME=   yoono
PORTVERSION=    1.8.43
#PORTREVISION=  0
CATEGORIES= net-im
MASTER_SITES=   http://cdn.yoono.com/desktop/
DISTNAME=   ${PORTNAME}-desktop-${PORTVERSION}

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Client for Twitter and other social networks

LICENSE_NAME=   ToU
LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_TEXT=   http://www.yoono.com/terms.html

DESKTOP_ENTRIES=    "Yoono" \
            "Linux Client for social networks" \
            "${DATADIR}/chrome/branding/content/icon64.png" \
            "yoono" \
            "GTK;Network;" \
            ""

NO_BUILD=   yes

ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON=  binary distribution

SUB_FILES=  ${PORTNAME} pkg-message
SUB_LIST=   LINUXBASE=${LINUXBASE}

USE_LDCONFIG=   yes
USE_LINUX=  yes
USE_LINUX_APPS= alsalib dbuslibs gtk2 xorglibs
USES=   tar:bzip2

WRKSRC= ${WRKDIR}/${PORTNAME}-desktop

do-install:
    ${MKDIR} ${STAGEDIR}${DATADIR}
    (cd ${WRKSRC} && \
    ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
    ${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/${PORTNAME}-desktop
    ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>