ports/143481: [REPOCOPY] japanese/stardict2-dict-ja ---> japanese/stardict-dict-ja

Ju Pengfei jupengfei at gmail.com
Tue Feb 2 13:43:55 UTC 2010


>Number:         143481
>Category:       ports
>Synopsis:       [REPOCOPY] japanese/stardict2-dict-ja ---> japanese/stardict-dict-ja
>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 Feb 02 13:43:42 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ju Pengfei
>Release:        8.0-RELEASE-p2
>Organization:
Ju Pengfei
>Environment:
>Description:
why: use this port not only depends (RUN_DEPENDS) textproc/stardict2

Changes:
* Makefile:
removed the RUN_DEPENDS;
and modified the MAINTAINER line, I'll pick it;
* pkg-message(new file):
list a dictionary program list;
* pkg-plist:
add @dirrmtry share/stardict(if stardict not installed)

the attachment is a patch
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN stardict2-dict-ja/Makefile stardict-dict-ja/Makefile
--- stardict2-dict-ja/Makefile	2010-02-02 20:23:33.000000000 +0800
+++ stardict-dict-ja/Makefile	2010-02-02 21:20:26.000000000 +0800
@@ -4,20 +4,17 @@
 # $FreeBSD: ports/japanese/stardict2-dict-ja/Makefile,v 1.11 2009/08/22 00:24:22 amdmi3 Exp $
 #
 
-PORTNAME=	stardict2-dict-ja
+PORTNAME=	stardict-dict-ja
 PORTVERSION=	2.4.2
-PORTREVISION=	7
 CATEGORIES=	japanese textproc
 MASTER_SITES=	SF/stardict/stardict-dictionaries-ja/${PORTVERSION}
 DISTFILES=	stardict-jmdict-en-ja-${PORTVERSION}.tar.bz2 \
 		stardict-jmdict-ja-en-${PORTVERSION}.tar.bz2
 DIST_SUBDIR=	stardict
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	jupengfei at gmail.com
 COMMENT=	English-Japanese/Japanese-English dictionaries for StarDict
 
-RUN_DEPENDS=	stardict:${PORTSDIR}/textproc/stardict2
-
 NO_BUILD=	yes
 USE_BZIP2=	yes
 
@@ -26,4 +23,7 @@
 		${INSTALL_DATA} ${WRKDIR}/stardict-jmdict-en-ja-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
 		${INSTALL_DATA} ${WRKDIR}/stardict-jmdict-ja-en-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
 
+post-install:
+		@${CAT} ${PKGMESSAGE}
+
 .include <bsd.port.mk>
diff -ruN stardict2-dict-ja/pkg-message stardict-dict-ja/pkg-message
--- stardict2-dict-ja/pkg-message	1970-01-01 08:00:00.000000000 +0800
+++ stardict-dict-ja/pkg-message	2010-02-02 20:26:05.000000000 +0800
@@ -0,0 +1,11 @@
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+
+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
+  textproc/goldendict   Goldendict
+
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+
diff -ruN stardict2-dict-ja/pkg-plist stardict-dict-ja/pkg-plist
--- stardict2-dict-ja/pkg-plist	2010-02-02 20:23:33.000000000 +0800
+++ stardict-dict-ja/pkg-plist	2010-02-02 21:11:01.000000000 +0800
@@ -5,3 +5,4 @@
 share/stardict/dic/jmdict-ja-en.idx
 share/stardict/dic/jmdict-ja-en.ifo
 @dirrmtry share/stardict/dic
+ at dirrmtry share/stardict


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list