aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sk-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/sk-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/sk-hunspell')
-rw-r--r--textproc/sk-hunspell/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/textproc/sk-hunspell/Makefile b/textproc/sk-hunspell/Makefile
index f1a915d950e4..73af79f3932c 100644
--- a/textproc/sk-hunspell/Makefile
+++ b/textproc/sk-hunspell/Makefile
@@ -5,10 +5,12 @@
# $FreeBSD$
#
-PORTNAME= sk-hunspell
+PORTNAME= hunspell
PORTVERSION= 20110228
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.sk-spell.sk.cx/files/
+PKGNAMEPREFIX= sk-
DISTNAME= hunspell-sk-${PORTVERSION}
MAINTAINER= office@FreeBSD.org
@@ -20,12 +22,12 @@ LICENSE_COMB= dual
USE_ZIP= yes
NO_BUILD= yes
-PLIST_FILES= share/hunspell/sk_SK.aff \
- share/hunspell/sk_SK.dic
-PLIST_DIRS= share/hunspell
+PLIST_FILES= %%DATADIR%%/sk_SK.aff \
+ %%DATADIR%%/sk_SK.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hunspell
- @${INSTALL_DATA} ${WRKSRC}/sk_SK* ${PREFIX}/share/hunspell
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/sk_SK.aff ${WRKSRC}/sk_SK.dic ${DATADIR}/
.include <bsd.port.mk>