ports/142967: [REPOCOPY]chinese/stardict2-dict-zh_CN ---> chinese/stardict-dict-zh_CN
Ju Pengfei
jupengfei at gmail.com
Tue Jan 19 13:30:10 UTC 2010
>Number: 142967
>Category: ports
>Synopsis: [REPOCOPY]chinese/stardict2-dict-zh_CN ---> chinese/stardict-dict-zh_CN
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 19 13:30:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Ju Pengfei
>Release: 8.0-RELEASE-p2
>Organization:
Ju Pengfei
>Environment:
>Description:
>How-To-Repeat:
>Fix:
1. After discussion(with makc@ and wen@), the port name will change from stardict2-dict-zh_CN to stardict-dict-zh_CN;
2. The old PR should be closed: http://www.freebsd.org/cgi/query-pr.cgi?pr=142880
3. The attachment is the patch file;
Changes:
* Makefile:
remove the RUN_DEPENDS;
* pkg-message(new file):
show a dictionary program list;
* pkg-plist:
add @dirrmtry share/stardict(if stardict not installed)
Patch attached with submission follows:
diff -ruN stardict2-dict-zh_CN/Makefile stardict-dict-zh_CN/Makefile
--- stardict2-dict-zh_CN/Makefile 2010-01-19 20:57:55.000000000 +0800
+++ stardict-dict-zh_CN/Makefile 2010-01-19 20:25:10.000000000 +0800
@@ -1,12 +1,11 @@
-# Ports collection makefile for: stardict2-dict-zh_CN
+# Ports collection makefile for: stardict-dict-zh_CN
# Date created: 16 Jan 2004
# Whom: LI Dong <ld at FreeBSD.org.cn>
-# $FreeBSD: ports/chinese/stardict2-dict-zh_CN/Makefile,v 1.12 2009/08/22 00:15:08 amdmi3 Exp $
+# $FreeBSD$
#
-PORTNAME= stardict2-dict-zh_CN
+PORTNAME= stardict-dict-zh_CN
PORTVERSION= 2.4.2
-PORTREVISION= 8
CATEGORIES= chinese textproc
MASTER_SITES= SF/stardict/stardict-dictionaries-zh_CN/${PORTVERSION}
DISTFILES= stardict-cdict-gb-${PORTVERSION}.tar.bz2 \
@@ -17,11 +16,9 @@
stardict-xdict-ec-gb-${PORTVERSION}.tar.bz2
DIST_SUBDIR= stardict
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= jupengfei at gmail.com
COMMENT= English-Chinese(S)/Chinese(S)-English dictionaries for StarDict
-RUN_DEPENDS= stardict:${PORTSDIR}/textproc/stardict2
-
NO_BUILD= yes
USE_BZIP2= yes
@@ -34,4 +31,7 @@
${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ce-gb-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ec-gb-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff -ruN stardict2-dict-zh_CN/pkg-message stardict-dict-zh_CN/pkg-message
--- stardict2-dict-zh_CN/pkg-message 1970-01-01 08:00:00.000000000 +0800
+++ stardict-dict-zh_CN/pkg-message 2010-01-19 21:00:54.000000000 +0800
@@ -0,0 +1,9 @@
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+
+You should install a dictionary program via these ports:
+
+ textproc/qstardict A StarDict clone written with using Qt4
+ textproc/stardict2 StarDict 2.x
+ textproc/stardict3 StarDict 3.x
+
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
diff -ruN stardict2-dict-zh_CN/pkg-plist stardict-dict-zh_CN/pkg-plist
--- stardict2-dict-zh_CN/pkg-plist 2010-01-19 20:57:55.000000000 +0800
+++ stardict-dict-zh_CN/pkg-plist 2010-01-19 20:56:02.000000000 +0800
@@ -17,3 +17,4 @@
share/stardict/dic/xdict-ec-gb.idx
share/stardict/dic/xdict-ec-gb.ifo
@dirrmtry share/stardict/dic
+ at dirrmtry share/stardict
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list