ports/183811: textproc/stardict-dict-fa: clean-up, add stage support

Max Brazhnikov makc at FreeBSD.org
Sat Nov 9 15:40:02 UTC 2013


>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 at 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
+ at dirrmtry share/stardict/dic
+ at 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:


More information about the freebsd-ports-bugs mailing list