Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 17:29:21 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333413 - head/textproc/stardict-dict-fa_IR
Message-ID:  <201311101729.rAAHTLck062691@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Sun Nov 10 17:29:21 2013
New Revision: 333413
URL: http://svnweb.freebsd.org/changeset/ports/333413

Log:
  - Simplify Makefile by using shared code for dictionary ports
  - Update description
  - Use pkg-plist
  
  PR:		ports/183811
  Approved by:	Javad Kouhi (maintainer)

Added:
  head/textproc/stardict-dict-fa_IR/pkg-plist   (contents, props changed)
Modified:
  head/textproc/stardict-dict-fa_IR/Makefile
  head/textproc/stardict-dict-fa_IR/pkg-descr   (contents, props changed)

Modified: head/textproc/stardict-dict-fa_IR/Makefile
==============================================================================
--- head/textproc/stardict-dict-fa_IR/Makefile	Sun Nov 10 17:28:44 2013	(r333412)
+++ head/textproc/stardict-dict-fa_IR/Makefile	Sun Nov 10 17:29:21 2013	(r333413)
@@ -5,26 +5,11 @@ PORTVERSION=	1.0.0
 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>

Modified: head/textproc/stardict-dict-fa_IR/pkg-descr
==============================================================================
--- head/textproc/stardict-dict-fa_IR/pkg-descr	Sun Nov 10 17:28:44 2013	(r333412)
+++ head/textproc/stardict-dict-fa_IR/pkg-descr	Sun Nov 10 17:29:21 2013	(r333413)
@@ -1,3 +1,3 @@
-English-Persian dictionaries for stardict2 and stardict3.
+English-Persian dictionaries for StarDict.
 
 WWW: http://pyglossary.sourceforge.net

Added: head/textproc/stardict-dict-fa_IR/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/stardict-dict-fa_IR/pkg-plist	Sun Nov 10 17:29:21 2013	(r333413)
@@ -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



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