aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sq-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/sq-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/sq-hunspell')
-rw-r--r--textproc/sq-hunspell/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/textproc/sq-hunspell/Makefile b/textproc/sq-hunspell/Makefile
index a6fce4c438ee..4e7351c1afe5 100644
--- a/textproc/sq-hunspell/Makefile
+++ b/textproc/sq-hunspell/Makefile
@@ -5,10 +5,12 @@
# $FreeBSD$
#
-PORTNAME= sq-hunspell
+PORTNAME= hunspell
PORTVERSION= 1.6.2
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.shkenca.org/shkarkime/
+PKGNAMEPREFIX= sq-
DISTNAME= myspell-sq_AL-${PORTVERSION}
MAINTAINER= office@FreeBSD.org
@@ -17,12 +19,12 @@ COMMENT= Albanian hunspell dictionaries
USE_ZIP= yes
NO_BUILD= yes
-PLIST_FILES= share/hunspell/sq_AL.aff \
- share/hunspell/sq_AL.dic
-PLIST_DIRS= share/hunspell
+PLIST_FILES= %%DATADIR%%/sq_AL.aff \
+ %%DATADIR%%/sq_AL.dic
+PLIST_DIRSTRY= %%DATADIR%%
do-install:
- @${MKDIR} ${PREFIX}/share/hunspell
- @${INSTALL_DATA} ${WRKSRC}/sq_AL.* ${PREFIX}/share/hunspell
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/sq_AL.aff ${WRKSRC}/sq_AL.dic ${DATADIR}/
.include <bsd.port.mk>