pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/hunspell Support for OO.o dicts without readm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00ca0de1faa0
branches:  trunk
changeset: 400909:00ca0de1faa0
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Thu Oct 29 22:57:10 2009 +0000

description:
Support for OO.o dicts without readme files.

diffstat:

 textproc/hunspell/Makefile.common |  12 +++++++++++-
 textproc/hunspell/PLIST.common    |   4 ++--
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 5fa37a4c9b93 -r 00ca0de1faa0 textproc/hunspell/Makefile.common
--- a/textproc/hunspell/Makefile.common Thu Oct 29 22:55:00 2009 +0000
+++ b/textproc/hunspell/Makefile.common Thu Oct 29 22:57:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2009/08/25 11:57:46 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2009/10/29 22:57:10 ahoka Exp $
 # used by textproc/hunspell-af_ZA/Makefile
 # used by textproc/hunspell-bg_BG/Makefile
 # used by textproc/hunspell-ca_ES/Makefile
@@ -25,6 +25,10 @@
 MASTER_SITES=  http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
 HOMEPAGE=      http://wiki.services.openoffice.org/wiki/Dictionaries
 
+# Whether to install readme files for dict
+HUNDICT_INSTALL_README?=       yes
+PLIST_VARS=    readme
+
 EXTRACT_SUFX=  .zip
 USE_LANGUAGES= # none
 NO_BUILD=      yes
@@ -37,10 +41,16 @@
 PLIST_SRC=             ../../textproc/hunspell/PLIST.common
 PLIST_SUBST+=          DISTNAME=${DISTNAME}
 
+.if ${HUNDICT_INSTALL_README} == "yes"
+PLIST.readme=          yes
+.endif
+
 INSTALLATION_DIRS=     share/hunspell share/doc/hunspell-${DISTNAME}
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.aff ${DESTDIR}${PREFIX}/share/hunspell
        ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.dic ${DESTDIR}${PREFIX}/share/hunspell
+.if ${HUNDICT_INSTALL_README} == "yes"
        ${INSTALL_DATA} ${WRKSRC}/README_${DISTNAME}.txt \
        ${DESTDIR}${PREFIX}/share/doc/hunspell-${DISTNAME}
+.endif
diff -r 5fa37a4c9b93 -r 00ca0de1faa0 textproc/hunspell/PLIST.common
--- a/textproc/hunspell/PLIST.common    Thu Oct 29 22:55:00 2009 +0000
+++ b/textproc/hunspell/PLIST.common    Thu Oct 29 22:57:10 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.3 2009/06/14 21:36:31 joerg Exp $
-share/doc/hunspell-${DISTNAME}/README_${DISTNAME}.txt
+@comment $NetBSD: PLIST.common,v 1.4 2009/10/29 22:57:10 ahoka Exp $
+${PLIST.readme}share/doc/hunspell-${DISTNAME}/README_${DISTNAME}.txt
 share/hunspell/${DISTNAME}.aff
 share/hunspell/${DISTNAME}.dic



Home | Main Index | Thread Index | Old Index