Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 15:34:26 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183811: textproc/stardict-dict-fa: clean-up, add stage support
Message-ID:  <201311091534.rA9FYQQL032605@oldred.freebsd.org>
Resent-Message-ID: <201311091540.rA9Fe1Ao037970@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183811
>Category:       ports
>Synopsis:       textproc/stardict-dict-fa: clean-up, add stage support
>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:   Sat Nov 09 15:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
>Description:
Simplify Makefile by using shared code for dictionary ports
Update description
Use pkg-plist
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: textproc/stardict-dict-fa_IR/Makefile
===================================================================
--- textproc/stardict-dict-fa_IR/Makefile	(revision 333249)
+++ textproc/stardict-dict-fa_IR/Makefile	(working copy)
@@ -5,26 +5,11 @@
 CATEGORIES=	textproc
 MASTER_SITES=	SF/pyglossary/dic/English-Persion/
 DISTNAME=	Open%20Dictionary%20aka%20QueerDick-2010-09-28-rich
-DIST_SUBDIR=	stardict
 
 MAINTAINER=	javad.kouhi@gmail.com
 COMMENT=	English-Persian dictionary for stardict
 
-NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
 WRKSRC=		"${WRKDIR}/Open Dictionary aka QueerDick-2010-09-28-rich"
 
-PLIST_FILES=	share/stardict/dic/Arianpur-OpenDictionary.dict.dz \
-		share/stardict/dic/Arianpur-OpenDictionary.idx \
-		share/stardict/dic/Arianpur-OpenDictionary.ifo
-PLIST_DIRSTRY=	share/stardict/dic \
-		share/stardict
-
-NO_STAGE=	yes
-do-install:
-	${MKDIR} ${PREFIX}/share/stardict/dic/
-	${INSTALL_DATA} ${WRKSRC}/Arianpur-OpenDictionary.dict.dz ${PREFIX}/share/stardict/dic/
-	${INSTALL_DATA} ${WRKSRC}/Arianpur-OpenDictionary.idx ${PREFIX}/share/stardict/dic/
-	${INSTALL_DATA} ${WRKSRC}/Arianpur-OpenDictionary.ifo ${PREFIX}/share/stardict/dic/
-
+.include "${.CURDIR}/../../russian/stardict-mueller7/files/Makefile.common"
 .include <bsd.port.mk>
Index: textproc/stardict-dict-fa_IR/pkg-descr
===================================================================
--- textproc/stardict-dict-fa_IR/pkg-descr	(revision 333249)
+++ textproc/stardict-dict-fa_IR/pkg-descr	(working copy)
@@ -1,3 +1,3 @@
-English-Persian dictionaries for stardict2 and stardict3.
+English-Persian dictionaries for StarDict.
 
 WWW: http://pyglossary.sourceforge.net
Index: textproc/stardict-dict-fa_IR/pkg-plist
===================================================================
--- textproc/stardict-dict-fa_IR/pkg-plist	(revision 0)
+++ textproc/stardict-dict-fa_IR/pkg-plist	(working copy)
@@ -0,0 +1,5 @@
+share/stardict/dic/Arianpur-OpenDictionary.dict.dz
+share/stardict/dic/Arianpur-OpenDictionary.idx
+share/stardict/dic/Arianpur-OpenDictionary.ifo
+@dirrmtry share/stardict/dic
+@dirrmtry share/stardict

Property changes on: textproc/stardict-dict-fa_IR/pkg-plist
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311091534.rA9FYQQL032605>