pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hunspell Add skeleton makefiles for handling ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/743713cf67d5
branches: trunk
changeset: 544764:743713cf67d5
user: ahoka <ahoka%pkgsrc.org@localhost>
date: Sat Jul 19 15:06:36 2008 +0000
description:
Add skeleton makefiles for handling OO.org supplied dictionaries.
While here: change my email address.
diffstat:
textproc/hunspell/Makefile | 4 +-
textproc/hunspell/Makefile.common | 47 +++++++++++++++++++++++++++++++++++++++
textproc/hunspell/PLIST.common | 6 ++++
3 files changed, 55 insertions(+), 2 deletions(-)
diffs (78 lines):
diff -r 13c864588013 -r 743713cf67d5 textproc/hunspell/Makefile
--- a/textproc/hunspell/Makefile Sat Jul 19 15:02:06 2008 +0000
+++ b/textproc/hunspell/Makefile Sat Jul 19 15:06:36 2008 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.7 2008/04/18 12:01:05 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2008/07/19 15:06:36 ahoka Exp $
#
DISTNAME= hunspell-1.2.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell/}
-MAINTAINER= adam.hoka%gmail.com@localhost
+MAINTAINER= ahoka%NetBSD.org@localhost
HOMEPAGE= http://hunspell.sourceforge.net/
COMMENT= Improved spellchecker
diff -r 13c864588013 -r 743713cf67d5 textproc/hunspell/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hunspell/Makefile.common Sat Jul 19 15:06:36 2008 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile.common,v 1.1 2008/07/19 15:06:36 ahoka Exp $
+# used by textproc/hunspell-af_ZA/Makefile
+# used by textproc/hunspell-bg_BG/Makefile
+# used by textproc/hunspell-ca_ES/Makefile
+# used by textproc/hunspell-cs_CZ/Makefile
+# used by textproc/hunspell-da_DK/Makefile
+# used by textproc/hunspell-es_ES/Makefile
+# used by textproc/hunspell-es_MX/Makefile
+# used by textproc/hunspell-fo_FO/Makefile
+# used by textproc/hunspell-ga_IE/Makefile
+# used by textproc/hunspell-he_IL/Makefile
+# used by textproc/hunspell-hr_HR/Makefile
+# used by textproc/hunspell-id_ID/Makefile
+# used by textproc/hunspell-lt_LT/Makefile
+# used by textproc/hunspell-mg_MG/Makefile
+# used by textproc/hunspell-ms_MY/Makefile
+# used by textproc/hunspell-nl_NL/Makefile
+# used by textproc/hunspell-ny_MW/Makefile
+# used by textproc/hunspell-ru_RU/Makefile
+#
+# Hunspell dictionary template for fetching from OpenOffice.org
+
+PKGNAME= hunspell-${DISTNAME}-${VERSION}
+CATEGORIES= textproc
+MASTER_SITES= http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
+HOMEPAGE= http://wiki.services.openoffice.org/wiki/Dictionaries
+
+EXTRACT_SUFX= .zip
+USE_LANGUAGES= # none
+NO_BUILD= yes
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}
+EXTRACT_OPTS_ZIP= -aqo # We don't want -L
+DIST_SUBDIR= hunspell-dictionaries/${DISTNAME}-${VERSION}
+
+PLIST_SRC= ../../textproc/hunspell/PLIST.common
+PLIST_SUBST+= DISTNAME=${DISTNAME}
+
+INSTALLATION_DIRS= share/hunspell share/doc/hunspell-${DISTNAME}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.aff ${DESTDIR}${PREFIX}/share/hunspell
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.dic ${DESTDIR}${PREFIX}/share/hunspell
+ ${INSTALL_DATA} ${WRKSRC}/README_${DISTNAME}.txt \
+ ${DESTDIR}${PREFIX}/share/doc/hunspell-${DISTNAME}
diff -r 13c864588013 -r 743713cf67d5 textproc/hunspell/PLIST.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hunspell/PLIST.common Sat Jul 19 15:06:36 2008 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST.common,v 1.1 2008/07/19 15:06:36 ahoka Exp $
+share/doc/hunspell-${DISTNAME}/README_${DISTNAME}.txt
+share/hunspell/${DISTNAME}.aff
+share/hunspell/${DISTNAME}.dic
+@unexec ${RMDIR} %D/share/hunspell 2>/dev/null || ${TRUE}
+@dirrm share/doc/hunspell-${DISTNAME}
Home |
Main Index |
Thread Index |
Old Index