aboutsummaryrefslogtreecommitdiff
path: root/french
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-09-06 06:45:02 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-09-06 06:45:02 +0000
commit9adcc4e9d6145ec9e051bc9ce75fcea84fdfa34f (patch)
treea8e84d73f1c63efb783c4c3d4a64e635f00461ae /french
parentdabdff80f93f9e87dd13f4c1b5d2141fb79322d8 (diff)
downloadports-9adcc4e9d6145ec9e051bc9ce75fcea84fdfa34f.tar.gz
ports-9adcc4e9d6145ec9e051bc9ce75fcea84fdfa34f.zip
Notes
Diffstat (limited to 'french')
-rw-r--r--french/mozilla-flp/Makefile26
-rw-r--r--french/mozilla-flp/distinfo.seamonkey3
-rw-r--r--french/mozilla-flp/pkg-descr4
-rw-r--r--french/mozilla-flp/pkg-plist1
4 files changed, 24 insertions, 10 deletions
diff --git a/french/mozilla-flp/Makefile b/french/mozilla-flp/Makefile
index 712321854f35..d613b8a625f2 100644
--- a/french/mozilla-flp/Makefile
+++ b/french/mozilla-flp/Makefile
@@ -5,23 +5,21 @@
# $FreeBSD$
#
-PORTNAME= mozilla-flp
-PORTVERSION= 1.7.13
+PORTNAME= ${GECKO}-flp
+PORTVERSION= ${MOZVERSION}
+PORTEPOCH= 1
CATEGORIES= french www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- http://frenchmozilla.sourceforge.net/FTP/${PORTVERSION}/
+ http://frenchmozilla.sourceforge.net/FTP/${PORTVERSION}${DISTURL}/
MASTER_SITE_SUBDIR= frenchmozilla
-DISTNAME= mozilla-${PORTVERSION}.fr-FR.langpack
+DISTNAME= ${GECKO}-${PORTVERSION}.fr-FR.langpack
MAINTAINER= thierry@FreeBSD.org
-COMMENT= Mozilla French Language Pack (FLP)
+COMMENT= ${GECKO} French Language Pack (FLP)
USE_X_PREFIX= yes # Cannot be included after <bsd.port.pre.mk>.
WRKSRC= ${WRKDIR}/bin
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/www/mozex/Makefile.xpi"
-
REPS= defaults/profile/FR/chrome defaults/messenger/FR defaults/isp/FR
FICHIERS= chrome/FR.jar chrome/fr-FR.jar chrome/fr-unix.jar \
components/myspell/fr-FR.aff components/myspell/fr-FR.dic \
@@ -35,6 +33,18 @@ FICHIERS= chrome/FR.jar chrome/fr-FR.jar chrome/fr-unix.jar \
searchplugins/dmoz.src searchplugins/google.gif searchplugins/google.src\
searchplugins/googlefr.gif searchplugins/googlefr.src
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/mozex/Makefile.xpi"
+
+.if ${GECKO} == seamonkey
+MOZVERSION= 1.0.4
+DISTURL= /SeaMonkey
+MD5_FILE= ${MASTERDIR}/distinfo.seamonkey
+.else
+MOZVERSION= 1.7.13
+DISTURL= # No subdir
+.endif
+
do-install:
.for rep in ${REPS}
@${MKDIR} ${MOZDIR}/${rep}
diff --git a/french/mozilla-flp/distinfo.seamonkey b/french/mozilla-flp/distinfo.seamonkey
new file mode 100644
index 000000000000..6776300a6ed0
--- /dev/null
+++ b/french/mozilla-flp/distinfo.seamonkey
@@ -0,0 +1,3 @@
+MD5 (seamonkey-1.0.4.fr-FR.langpack.xpi) = 2a116d5dd47a0478ed2ad16d1113c698
+SHA256 (seamonkey-1.0.4.fr-FR.langpack.xpi) = f9db1bfc90ab271e4e19c84aa50ef10aab87c4de22f59d3a3c80564f4902b5b5
+SIZE (seamonkey-1.0.4.fr-FR.langpack.xpi) = 1040061
diff --git a/french/mozilla-flp/pkg-descr b/french/mozilla-flp/pkg-descr
index dae9a0bbb240..a3af24a7de7e 100644
--- a/french/mozilla-flp/pkg-descr
+++ b/french/mozilla-flp/pkg-descr
@@ -1,3 +1,3 @@
-Module de francisation de Mozilla.
+Module de francisation de Mozilla / SeaMonkey.
-WWW: http://frenchmozilla.org/
+WWW: http://frenchmozilla.sourceforge.net/
diff --git a/french/mozilla-flp/pkg-plist b/french/mozilla-flp/pkg-plist
index 08705364c8fc..8099dba0bae1 100644
--- a/french/mozilla-flp/pkg-plist
+++ b/french/mozilla-flp/pkg-plist
@@ -18,3 +18,4 @@
@dirrm %%MOZDIR%%/defaults/profile/FR
@dirrm %%MOZDIR%%/defaults/messenger/FR
@dirrm %%MOZDIR%%/defaults/isp/FR
+@dirrmtry %%MOZDIR%%/defaults/isp