aboutsummaryrefslogtreecommitdiff
path: root/french
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-07-21 14:33:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-07-21 14:33:07 +0000
commit2eff2d795361046a0cc6d9bc13f0d02b2b8fa163 (patch)
tree51a9b00a301fff140795c2a6f689bc894ce176e0 /french
parentfee610051e6a13fa93f72999a6d484bd4922c9e9 (diff)
downloadports-2eff2d795361046a0cc6d9bc13f0d02b2b8fa163.tar.gz
ports-2eff2d795361046a0cc6d9bc13f0d02b2b8fa163.zip
Notes
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