aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/so-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/so-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/so-hunspell')
-rw-r--r--textproc/so-hunspell/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/textproc/so-hunspell/Makefile b/textproc/so-hunspell/Makefile
index cb1d8b530e9c..0be049cb2e5d 100644
--- a/textproc/so-hunspell/Makefile
+++ b/textproc/so-hunspell/Makefile
@@ -5,11 +5,13 @@
# $FreeBSD$
#
-PORTNAME= so-hunspell
+PORTNAME= hunspell
PORTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
MASTER_SITE_SUBDIR= addons/13375
+PKGNAMEPREFIX= so-
DISTNAME= qaamuuska_af_soomaaliga-${PORTVERSION}-tb+fx
EXTRACT_SUFX= .xpi
@@ -20,13 +22,14 @@ LICENSE= GPLv2
USE_ZIP= yes
NO_BUILD= yes
+WRKSRC= ${WRKDIR}/dictionaries
-PLIST_FILES= share/hunspell/so_SO.aff \
- share/hunspell/so_SO.dic
-PLIST_DIRS= share/hunspell
+PLIST_FILES= %%DATADIR%%/so_SO.aff \
+ %%DATADIR%%/so_SO.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hunspell
- @${INSTALL_DATA} ${WRKDIR}/dictionaries/so_SO* ${PREFIX}/share/hunspell/
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/so_SO.aff ${WRKSRC}/so_SO.dic ${DATADIR}/
.include <bsd.port.mk>