diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-05-17 07:57:39 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-05-17 07:57:39 +0000 |
commit | 02cde29e352c2682afc76bb88c759ad485948c1b (patch) | |
tree | c68349cba32a05734aab31181c0c082c11e83591 /net-im/qq/Makefile | |
parent | 3f59a0daab1aa832d4f81d836973e36a218b5660 (diff) |
Add qq , tencent QQ for Linux.
PR: ports/133408
Submitted by: Kai Wang <kaiw27 at gmail.com>
Notes
Notes:
svn path=/head/; revision=234063
Diffstat (limited to 'net-im/qq/Makefile')
-rw-r--r-- | net-im/qq/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-im/qq/Makefile b/net-im/qq/Makefile new file mode 100644 index 000000000000..736800964db8 --- /dev/null +++ b/net-im/qq/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: qq +# Date created: 2009-04-05 +# Whom: Kai Wang <kaiw27@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= qq +DISTVERSION= v1.0.2-beta1_i386 +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 +USE_LINUX= yes +USE_LINUX_APPS= 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> + +pre-fetch: + @${ECHO_MSG} "" + @${ECHO_MSG} "===============================================" + @${ECHO_MSG} "QQ requires linux_base-f8 ports infrastructure." + @${ECHO_MSG} "Press 'Ctrl-C' to stop now if you dont't have " + @${ECHO_MSG} "the right version installed. " + @${ECHO_MSG} "" + @${ECHO_MSG} "Please read ${PORTSDIR}/UPDATING for how to " + @${ECHO_MSG} "install the linux_base-f8 ports. " + @${ECHO_MSG} "===============================================" + @${ECHO_MSG} "" + +do-install: + @${MKDIR} ${PREFIX}/${QQDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/qq ${PREFIX}/${QQDIR}/ + ${INSTALL_DATA} ${WRKSRC}/res.db ${PREFIX}/${QQDIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/qq.sh ${PREFIX}/bin/qq + +.include <bsd.port.post.mk> |