aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/qq/Makefile
blob: 53584edc9843dda5ec69538494582dbaa98b6ed9 (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
# Created by: Kai Wang <kaiw27@gmail.com>
# $FreeBSD$

PORTNAME=   qq
DISTVERSION=    v1.0.2-beta1_i386
PORTREVISION=   3
CATEGORIES= net-im
MASTER_SITES=   http://dl_dir.qq.com/linuxqq/
DISTNAME=   linuxqq_${DISTVERSION}

MAINTAINER= kaiw27@gmail.com
COMMENT=    Tencent QQ for Linux

ONLY_FOR_ARCHS= i386 amd64
USES=       linux
USE_LINUX=  gtk2 xorglibs
NO_BUILD=   yes

QQDIR=      libexec/qq
PLIST_SUB+= QQDIR=${QQDIR}
SUB_FILES=  qq.sh
SUB_LIST+=  QQDIR=${QQDIR}

.include <bsd.port.pre.mk>

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/${QQDIR}
    ${INSTALL_PROGRAM} ${WRKSRC}/qq ${STAGEDIR}${PREFIX}/${QQDIR}/
    ${INSTALL_DATA} ${WRKSRC}/res.db ${STAGEDIR}${PREFIX}/${QQDIR}/
    ${INSTALL_SCRIPT} ${WRKDIR}/qq.sh ${STAGEDIR}${PREFIX}/bin/qq

.include <bsd.port.post.mk>