aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gnomespell
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-12-30 05:39:05 +0800
committersobomax <sobomax@FreeBSD.org>2001-12-30 05:39:05 +0800
commit7493e36e35c20fba127fe493071117234795f8bd (patch)
tree5632a7dd8595c299d09aa2fd5e29fb1418bfeead /textproc/gnomespell
parentaa07f4e232619b04e5cf8b7ab9fb9ef10076aba1 (diff)
downloadfreebsd-ports-gnome-7493e36e35c20fba127fe493071117234795f8bd.tar.gz
freebsd-ports-gnome-7493e36e35c20fba127fe493071117234795f8bd.tar.zst
freebsd-ports-gnome-7493e36e35c20fba127fe493071117234795f8bd.zip
Add gnomespell 0.4, a GNOME/Bonobo component for spell checking.
Diffstat (limited to 'textproc/gnomespell')
-rw-r--r--textproc/gnomespell/Makefile41
-rw-r--r--textproc/gnomespell/distinfo1
-rw-r--r--textproc/gnomespell/files/patch-po::POTFILES.in11
-rw-r--r--textproc/gnomespell/pkg-comment1
-rw-r--r--textproc/gnomespell/pkg-descr6
-rw-r--r--textproc/gnomespell/pkg-plist14
6 files changed, 74 insertions, 0 deletions
diff --git a/textproc/gnomespell/Makefile b/textproc/gnomespell/Makefile
new file mode 100644
index 000000000000..d05493adbb3a
--- /dev/null
+++ b/textproc/gnomespell/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: gnomespell
+# Date created: 29 December 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnomespell
+PORTVERSION= 0.4
+CATEGORIES= textproc gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= unstable/sources/gnome-spell
+DISTNAME= gnome-spell-${PORTVERSION}
+
+MAINTAINER= gnome@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/share/xml-i18n-tools/xml-i18n-extract.in:${PORTSDIR}/textproc/xml-i18n-tools
+LIB_DEPENDS= aspell.11:${PORTSDIR}/textproc/aspell
+
+USE_X_PREFIX= yes
+USE_PERL5= yes
+USE_GMAKE= yes
+USE_GNOME= yes
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+post-extract:
+.for file in xml-i18n-extract.in xml-i18n-merge.in xml-i18n-update.in
+ @${LN} -sf ${LOCALBASE}/share/xml-i18n-tools/${file} ${WRKSRC}/${file}
+.endfor
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>
diff --git a/textproc/gnomespell/distinfo b/textproc/gnomespell/distinfo
new file mode 100644
index 000000000000..b770b9c46b59
--- /dev/null
+++ b/textproc/gnomespell/distinfo
@@ -0,0 +1 @@
+MD5 (gnome-spell-0.4.tar.gz) = d5c4eb30c9d89cb9c8c823e5115a78c3
diff --git a/textproc/gnomespell/files/patch-po::POTFILES.in b/textproc/gnomespell/files/patch-po::POTFILES.in
new file mode 100644
index 000000000000..128939f94466
--- /dev/null
+++ b/textproc/gnomespell/files/patch-po::POTFILES.in
@@ -0,0 +1,11 @@
+
+$FreeBSD$
+
+--- po/POTFILES.in 2001/12/29 21:18:06 1.1
++++ po/POTFILES.in 2001/12/29 21:18:42
+@@ -1,5 +1,4 @@
+ gnome-spell/control.c
+-gnome-spell/dictionary-factory.c
+ gnome-spell/spell-factory.c
+ gnome-spell/test-spell.c
+ gnome-spell/spell-checker.glade
diff --git a/textproc/gnomespell/pkg-comment b/textproc/gnomespell/pkg-comment
new file mode 100644
index 000000000000..00c3f27bdda0
--- /dev/null
+++ b/textproc/gnomespell/pkg-comment
@@ -0,0 +1 @@
+A GNOME/Bonobo component for spell checking
diff --git a/textproc/gnomespell/pkg-descr b/textproc/gnomespell/pkg-descr
new file mode 100644
index 000000000000..a5004d360237
--- /dev/null
+++ b/textproc/gnomespell/pkg-descr
@@ -0,0 +1,6 @@
+Gnome Spell is GNOME/Bonobo component for spell checking. In current version
+it contains GNOME::Spell::Dictionary object, which provides spell checking
+dictionary. It's based on pspell package, which is required to build
+gnome-spell.
+
+WWW: http://www.gnome.org/
diff --git a/textproc/gnomespell/pkg-plist b/textproc/gnomespell/pkg-plist
new file mode 100644
index 000000000000..6b20065bc375
--- /dev/null
+++ b/textproc/gnomespell/pkg-plist
@@ -0,0 +1,14 @@
+bin/gnome-spell-component
+share/gnome/gnome-spell/spell-checker.glade
+share/gnome/idl/Spell.idl
+share/gnome/oaf/GNOME_Spell.oafinfo
+share/locale/cs/LC_MESSAGES/gnome-spell.mo
+share/locale/es/LC_MESSAGES/gnome-spell.mo
+share/locale/fr/LC_MESSAGES/gnome-spell.mo
+share/locale/lt/LC_MESSAGES/gnome-spell.mo
+share/locale/no/LC_MESSAGES/gnome-spell.mo
+share/locale/pl/LC_MESSAGES/gnome-spell.mo
+share/locale/sk/LC_MESSAGES/gnome-spell.mo
+share/locale/sv/LC_MESSAGES/gnome-spell.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-spell.mo
+@dirrm share/gnome/gnome-spell