From 2eff2d795361046a0cc6d9bc13f0d02b2b8fa163 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 21 Jul 2011 14:33:07 +0000 Subject: Add some locales thesaurus --- french/Makefile | 1 + french/mythes/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ french/mythes/distinfo | 2 ++ french/mythes/pkg-descr | 3 +++ 4 files changed, 50 insertions(+) create mode 100644 french/mythes/Makefile create mode 100644 french/mythes/distinfo create mode 100644 french/mythes/pkg-descr (limited to 'french') diff --git a/french/Makefile b/french/Makefile index 6363e4d6e9a7..83504442c42f 100644 --- a/french/Makefile +++ b/french/Makefile @@ -30,6 +30,7 @@ SUBDIR += koffice-i18n SUBDIR += koffice-kde4-l10n SUBDIR += med + SUBDIR += mythes SUBDIR += php_doc SUBDIR += tvdownloader SUBDIR += verbiste diff --git a/french/mythes/Makefile b/french/mythes/Makefile new file mode 100644 index 000000000000..a8a504ce284c --- /dev/null +++ b/french/mythes/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: mythes +# Date created: 2011-07-21 +# Whom: Baptiste Daroussin +# +# $FreeBSD$ +# + +PORTNAME= mythes +PORTVERSION= 2.2.2 +CATEGORIES= french textproc +MASTER_SITES= http://www.dicollecte.org/download/fr/ +DISTNAME= thesaurus-v${PORTVERSION} + +MAINTAINER= bapt@FreeBSD.org +COMMENT= French thesaurus + +LICENSE= LGPL21 + +USE_ZIP= yes +NO_BUILD= yes + +FRALIASES= fr_BE fr_CA fr_CH fr_LU + +PLIST_FILES= share/mythes/th_fr_FR_v2.dat \ + share/mythes/th_fr_FR_v2.idx + +.for ALIAS in ${FRALIASES} +PLIST_FILES+= share/mythes/th_${ALIAS}_v2.dat \ + share/mythes/th_${ALIAS}_v2.idx +.endfor + +PLIST_DIRS= share/mythes + +do-install: + @${MKDIR} ${PREFIX}/share/mythes + @${INSTALL_DATA} ${WRKDIR}/thes_fr.dat ${PREFIX}/share/mythes/th_fr_FR_v2.dat + @${INSTALL_DATA} ${WRKDIR}/thes_fr.idx ${PREFIX}/share/mythes/th_fr_FR_v2.idx + @cd ${PREFIX}/share/mythes; \ + for alias in ${FRALIASES}; do \ + ${LN} -s th_fr_FR_v2.idx th_$${alias}_v2.idx ; \ + ${LN} -s th_fr_FR_v2.dat th_$${alias}_v2.dat ; \ + done + +.include diff --git a/french/mythes/distinfo b/french/mythes/distinfo new file mode 100644 index 000000000000..78d2232687ce --- /dev/null +++ b/french/mythes/distinfo @@ -0,0 +1,2 @@ +SHA256 (thesaurus-v2.2.2.zip) = 2d09f512e160249a27198a444f17658473bb42967eb77cbfd6739cf2b08cd154 +SIZE (thesaurus-v2.2.2.zip) = 1733996 diff --git a/french/mythes/pkg-descr b/french/mythes/pkg-descr new file mode 100644 index 000000000000..d2ac2ea1e121 --- /dev/null +++ b/french/mythes/pkg-descr @@ -0,0 +1,3 @@ +French thesaurus + +WWW: http://www.dicollecte.org/home.php?prj=fr -- cgit v1.2.3