aboutsummaryrefslogtreecommitdiff
path: root/textproc/xh-hunspell
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 13:13:17 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 13:13:17 +0000
commit72c08ec487edbe98662f3278bee17f8726ee4ce4 (patch)
treea3c6d7d2a4a492c3e55a418f3fa370e951b5ccc7 /textproc/xh-hunspell
parenta600d4522cadfa512ce465f98566cee7b9bec843 (diff)
downloadports-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz
ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.zip
Notes
Diffstat (limited to 'textproc/xh-hunspell')
-rw-r--r--textproc/xh-hunspell/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/textproc/xh-hunspell/Makefile b/textproc/xh-hunspell/Makefile
index 704efa61001f..2a17ec3e410f 100644
--- a/textproc/xh-hunspell/Makefile
+++ b/textproc/xh-hunspell/Makefile
@@ -5,11 +5,13 @@
# $FreeBSD$
#
-PORTNAME= xh-hunspell
+PORTNAME= hunspell
PORTVERSION= 20110323
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
MASTER_SITE_SUBDIR= addons/46599
+PKGNAMEPREFIX= xh-
DISTNAME= xhosa_spell_checker-${PORTVERSION}-tb+fn+fx+sm
EXTRACT_SUFX= .xpi
@@ -18,14 +20,15 @@ COMMENT= Xhosa hunspell dictionaries
USE_ZIP= yes
NO_BUILD= yes
+WRKSRC= ${WRKDIR}/dictionaries
-PLIST_FILES= share/hunspell/xh.aff \
- share/hunspell/xh.dic
-PLIST_DIRS= share/hunspell
+PLIST_FILES= %%DATADIR%%/xh.aff \
+ %%DATADIR%%/xh.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hunspell
- @${INSTALL_DATA} ${WRKDIR}/dictionaries/xh-ZA.aff ${PREFIX}/share/hunspell/xh.aff
- @${INSTALL_DATA} ${WRKDIR}/dictionaries/xh-ZA.dic ${PREFIX}/share/hunspell/xh.dic
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/xh-ZA.aff ${DATADIR}/xh.aff
+ ${INSTALL_DATA} ${WRKSRC}/xh-ZA.dic ${DATADIR}/xh.dic
.include <bsd.port.mk>