|
作者:Gavin@tju
statue放掉了对这些ports的维护,这些ports已经有一段没有更新了,而且 stardict2默认安装的是big5版本,我照葫芦画瓢写了stardict2-zh_CN的ports,都是抄stardict2的,不过可以安装 stardict2.4.2的简体中文版本了,现有的stardict2是big5的2.2.1版本.刚开始学习写这些东西,而且我也很需要 stardict2,就在我自己机器上试验了,没有什么问题,就拿出来了,毕竟stardict2是很多人很需要的东西
这个论坛似乎不能上传附件哦,我把Makefile和distinfo帖出来吧,其他的就用stardict2里面的复制过来
Makefile
- # Ports collection makefile for: stardict2-zh_CN
- # Date created: 13 April 2003
- # Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
- #
- # $FreeBSD: ports/chinese/stardict2-zh_CN/Makefile,v 1.8 2003/11/21 03:09:43 linimon Exp $
- #
- PORTNAME= stardict
- PORTVERSION= 2.4.2
- PORTREVISION= 1
- CATEGORIES= chinese textproc
- MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
- MASTER_SITE_SUBDIR= ${PORTNAME}
- DISTFILES= stardict-${PORTVERSION}.tar.bz2 \
- stardict-cdict-gb-2.4.2.tar.bz2 \
- stardict-cedict-gb-2.4.2.tar.bz2 \
- stardict-oxford-gb-2.4.2.tar.bz2 \
- stardict-xdict-ce-gb-2.4.2.tar.bz2
- MAINTAINER= [email]ports@FreeBSD.org[/email]
- COMMENT= English-Chinese dictionary
- GNU_CONFIGURE= yes
- CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
- USE_GMAKE= yes
- USE_X_PREFIX= yes
- USE_BZIP2= yes
- USE_GNOME= libgnome libgnomeui libbonobo gconf2
- MAN1= stardict.1
- post-install:
- ${MKDIR} ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKDIR}/stardict-cdict-gb-2.4.2/* ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKDIR}/stardict-cedict-gb-2.4.2/* ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKDIR}/stardict-oxford-gb-2.4.2/* ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ce-gb-2.4.2/* ${PREFIX}/share/stardict/dic/
- .include <bsd.port.mk>
复制代码
distinfo
- MD5 (stardict-2.4.2.tar.bz2) = ed4b56fe446564dd377b577287048c6a
- MD5 (stardict-cdict-gb-2.4.2.tar.bz2) = 68e539f362de416490b78fed97aba780
- MD5 (stardict-cedict-gb-2.4.2.tar.bz2) = 95a190a0d1bce3b858d7f2f7411e3755
- MD5 (stardict-oxford-gb-2.4.2.tar.bz2) = d242032dd873ca26ef75018c803bb1e4
- MD5 (stardict-xdict-ce-gb-2.4.2.tar.bz2) = 745727367e22ab9740256ceaf16cb83d
复制代码 |
|