aboutsummaryrefslogtreecommitdiff
path: root/polish/hunspell/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 12:22:30 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 12:22:30 +0000
commitc132d13ed17306c35f8be391d392a3ed3e1bc00a (patch)
treebec2a90320b642688a979aa4ba1d03e921851f2a /polish/hunspell/Makefile
parentb3a63e8cb62a924e41242c495cf8ead9da025837 (diff)
downloadports-c132d13ed17306c35f8be391d392a3ed3e1bc00a.tar.gz
ports-c132d13ed17306c35f8be391d392a3ed3e1bc00a.zip
- Update to 20110729
- Move language prefix to PKGNAMEPREFIX - Use DATADIR
Notes
Notes: svn path=/head/; revision=278523
Diffstat (limited to 'polish/hunspell/Makefile')
-rw-r--r--polish/hunspell/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/polish/hunspell/Makefile b/polish/hunspell/Makefile
index 15049209614e..956d10299b82 100644
--- a/polish/hunspell/Makefile
+++ b/polish/hunspell/Makefile
@@ -5,10 +5,11 @@
# $FreeBSD$
#
-PORTNAME= pl-hunspell
-PORTVERSION= 20110727
+PORTNAME= hunspell
+PORTVERSION= 20110729
CATEGORIES= textproc
MASTER_SITES= http://sjp.pl/slownik/ort/
+PKGNAMEPREFIX= pl-
DISTNAME= sjp-myspell-pl-${PORTVERSION}
MAINTAINER= office@FreeBSD.org
@@ -20,16 +21,16 @@ LICENSE_COMB= dual
USE_ZIP= yes
NO_BUILD= yes
-PLIST_FILES= share/hunspell/pl_PL.aff \
- share/hunspell/pl_PL.dic
-PLIST_DIRSTRY= share/hunspell
+PLIST_FILES= %%DATADIR%%/pl_PL.aff \
+ %%DATADIR%%/pl_PL.dic
+PLIST_DIRSTRY= %%DATADIR%%
post-extract:
@${MKDIR} ${WRKSRC}
@${EXTRACT_CMD} ${WRKDIR}/pl_PL.zip -d ${WRKSRC}
do-install:
- ${MKDIR} ${PREFIX}/share/hunspell/
- ${INSTALL_DATA} ${WRKSRC}/pl_PL.aff ${WRKSRC}/pl_PL.dic ${PREFIX}/share/hunspell/
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/pl_PL.aff ${WRKSRC}/pl_PL.dic ${DATADIR}/
.include <bsd.port.mk>