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

PORTNAME=   yoono
PORTVERSION=    1.8.42
#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_BZIP2=  yes
USE_LDCONFIG=   yes
USE_LINUX=  yes
USE_LINUX_APPS= alsalib dbuslibs gtk2 xorglibs

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

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

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>