From 73483cb1ebcb0cfe8ff5b61d93fa58d0ffd2392b Mon Sep 17 00:00:00 2001 From: salo Date: Fri, 17 Jan 2003 03:54:17 +0000 Subject: Portuguese language support for aspell, e.g. `aspell -d portuguese -c $myfile' Other sub-dictionary available in this package: brazilian. --- textproc/aspell-portuguese/DESCR | 3 +++ textproc/aspell-portuguese/Makefile | 24 ++++++++++++++++++++++++ textproc/aspell-portuguese/PLIST | 11 +++++++++++ textproc/aspell-portuguese/distinfo | 5 +++++ textproc/aspell-portuguese/patches/patch-aa | 21 +++++++++++++++++++++ 5 files changed, 64 insertions(+) create mode 100644 textproc/aspell-portuguese/DESCR create mode 100644 textproc/aspell-portuguese/Makefile create mode 100644 textproc/aspell-portuguese/PLIST create mode 100644 textproc/aspell-portuguese/distinfo create mode 100644 textproc/aspell-portuguese/patches/patch-aa (limited to 'textproc/aspell-portuguese') diff --git a/textproc/aspell-portuguese/DESCR b/textproc/aspell-portuguese/DESCR new file mode 100644 index 00000000000..deaa192ac60 --- /dev/null +++ b/textproc/aspell-portuguese/DESCR @@ -0,0 +1,3 @@ +Portuguese language support for aspell, +e.g. `aspell -d portuguese -c $myfile'. +Other sub-dictionary available in this package: brazilian. diff --git a/textproc/aspell-portuguese/Makefile b/textproc/aspell-portuguese/Makefile new file mode 100644 index 00000000000..2788df1fb6f --- /dev/null +++ b/textproc/aspell-portuguese/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/01/17 03:54:17 salo Exp $ +# + +DISTNAME= aspell-pt-0.50-2 +PKGNAME= ${DISTNAME:C/pt-(.*)-(.*)$/portuguese-\1.\2/} +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_GNU:=aspell/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://aspell.net/ +COMMENT= Portuguese language support for aspell + +USE_BUILDLINK2= YES +HAS_CONFIGURE= YES + +CONFIGURE_ENV+= ASPELL=${PREFIX}/bin/aspell +CONFIGURE_ENV+= WORD_LIST_COMPRESS=${PREFIX}/bin/word-list-compress + +MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}" +MAKE_ENV+= INSTALL_DATA_DIR="${INSTALL_DATA_DIR}" + +.include "../../textproc/aspell/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/aspell-portuguese/PLIST b/textproc/aspell-portuguese/PLIST new file mode 100644 index 00000000000..0bf613b5459 --- /dev/null +++ b/textproc/aspell-portuguese/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/17 03:54:17 salo Exp $ +lib/aspell/brazilian.alias +lib/aspell/portuguese.alias +lib/aspell/português.alias +lib/aspell/pt-only.rws +lib/aspell/pt.multi +lib/aspell/pt_BR-only.rws +lib/aspell/pt_BR.multi +lib/aspell/pt_PT-only.rws +lib/aspell/pt_PT.multi +share/aspell/pt.dat diff --git a/textproc/aspell-portuguese/distinfo b/textproc/aspell-portuguese/distinfo new file mode 100644 index 00000000000..4dbfc075952 --- /dev/null +++ b/textproc/aspell-portuguese/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/01/17 03:54:17 salo Exp $ + +SHA1 (aspell-pt-0.50-2.tar.bz2) = deea92b701d084a00428b70e86cce149c95aea1c +Size (aspell-pt-0.50-2.tar.bz2) = 201341 bytes +SHA1 (patch-aa) = df35f94688de5a020875e2c3d1a6557e92923799 diff --git a/textproc/aspell-portuguese/patches/patch-aa b/textproc/aspell-portuguese/patches/patch-aa new file mode 100644 index 00000000000..4f04277e43d --- /dev/null +++ b/textproc/aspell-portuguese/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/01/17 03:54:17 salo Exp $ + +--- Makefile.pre.orig Fri Jan 3 18:39:33 2003 ++++ Makefile.pre Wed Jan 15 00:48:39 2003 +@@ -16,12 +16,10 @@ + all: ${rws_files} ${data_files} + + install: all +- mkdir -p ${DESTDIR}${dictdir}/ +- cp ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/ +- cd ${DESTDIR}${dictdir}/ && chmod 644 ${rws_files} ${multi_files} +- mkdir -p ${DESTDIR}${datadir}/ +- cp ${data_files} ${DESTDIR}${datadir}/ +- cd ${DESTDIR}${datadir}/ && chmod 644 ${data_files} ++ ${INSTALL_DATA_DIR} ${DESTDIR}${dictdir}/ ++ ${INSTALL_DATA} ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/ ++ ${INSTALL_DATA_DIR} ${DESTDIR}${datadir}/ ++ ${INSTALL_DATA} ${data_files} ${DESTDIR}${datadir}/ + + clean: + rm -f ${rws_files} -- cgit v1.2.3