aboutsummaryrefslogtreecommitdiffstats
path: root/french
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-07-21 22:33:07 +0800
committerbapt <bapt@FreeBSD.org>2011-07-21 22:33:07 +0800
commit7c2fa80a46bb8ff08c1351801615de645893166e (patch)
tree9204fe5b7082e085eae35f34c4c107c55c24a424 /french
parenteb6c50c8c46a57c0d93a86b17ea772e53f5a66dc (diff)
downloadfreebsd-ports-gnome-7c2fa80a46bb8ff08c1351801615de645893166e.tar.gz
freebsd-ports-gnome-7c2fa80a46bb8ff08c1351801615de645893166e.tar.zst
freebsd-ports-gnome-7c2fa80a46bb8ff08c1351801615de645893166e.zip
Add some locales thesaurus
Diffstat (limited to 'french')
-rw-r--r--french/Makefile1
-rw-r--r--french/mythes/Makefile44
-rw-r--r--french/mythes/distinfo2
-rw-r--r--french/mythes/pkg-descr3
4 files changed, 50 insertions, 0 deletions
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 <bapt@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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