aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ts-hunspell
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-07-29 21:13:17 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-07-29 21:13:17 +0800
commite7533864e7a7574c2d1b20a6b10f81c0561e4621 (patch)
tree709c0318625f1fe2eca8e12b791e969926c96e91 /textproc/ts-hunspell
parent3bc9ecccbd8279e4254d8eade21cc1a1837decfb (diff)
downloadfreebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.gz
freebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.tar.zst
freebsd-ports-gnome-e7533864e7a7574c2d1b20a6b10f81c0561e4621.zip
- Move language prefix to PKGNAMEPREFIX
- Use DATADIR - Use PLIST_DIRSTRY for DATADIR - Explicitly list installing filenames - Bump PORTREVISION for PORTNAME and PLIST change - Sort PLIST - Cosmetic change
Diffstat (limited to 'textproc/ts-hunspell')
-rw-r--r--textproc/ts-hunspell/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/textproc/ts-hunspell/Makefile b/textproc/ts-hunspell/Makefile
index 373de723caa3..5b80e1f7d8ec 100644
--- a/textproc/ts-hunspell/Makefile
+++ b/textproc/ts-hunspell/Makefile
@@ -5,11 +5,13 @@
# $FreeBSD$
#
-PORTNAME= ts-hunspell
+PORTNAME= hunspell
PORTVERSION= 20110323
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
MASTER_SITE_SUBDIR= addons/46611
+PKGNAMEPREFIX= ts-
DISTNAME= tsonga_spell_checker-${PORTVERSION}-tb+sm+fx+fn
EXTRACT_SUFX= .xpi
@@ -19,13 +21,13 @@ COMMENT= Tsonga hunspell dictionaries
USE_ZIP= yes
NO_BUILD= yes
-PLIST_FILES= share/hunspell/ts_ZA.aff \
- share/hunspell/ts_ZA.dic
-PLIST_DIRS= share/hunspell
+PLIST_FILES= %%DATADIR%%/ts_ZA.aff \
+ %%DATADIR%%/ts_ZA.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hunspell
- @${INSTALL_DATA} ${WRKDIR}/dictionaries/ts-ZA.aff ${PREFIX}/share/hunspell/ts_ZA.aff
- @${INSTALL_DATA} ${WRKDIR}/dictionaries/ts-ZA.dic ${PREFIX}/share/hunspell/ts_ZA.dic
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKDIR}/dictionaries/ts-ZA.aff ${DATADIR}/ts_ZA.aff
+ ${INSTALL_DATA} ${WRKDIR}/dictionaries/ts-ZA.dic ${DATADIR}/ts_ZA.dic
.include <bsd.port.mk>