aboutsummaryrefslogtreecommitdiff
path: root/textproc/es-hunspell
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 13:13:17 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-29 13:13:17 +0000
commit72c08ec487edbe98662f3278bee17f8726ee4ce4 (patch)
treea3c6d7d2a4a492c3e55a418f3fa370e951b5ccc7 /textproc/es-hunspell
parenta600d4522cadfa512ce465f98566cee7b9bec843 (diff)
downloadports-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz
ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.zip
Notes
Diffstat (limited to 'textproc/es-hunspell')
-rw-r--r--textproc/es-hunspell/Makefile35
1 files changed, 17 insertions, 18 deletions
diff --git a/textproc/es-hunspell/Makefile b/textproc/es-hunspell/Makefile
index de0ddac0149a..94c3dc17faed 100644
--- a/textproc/es-hunspell/Makefile
+++ b/textproc/es-hunspell/Makefile
@@ -5,10 +5,12 @@
# $FreeBSD$
#
-PORTNAME= es-hunspell
+PORTNAME= hunspell
PORTVERSION= 0.5
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://extensions.services.openoffice.org/e-files/1639/2/
+PKGNAMEPREFIX= es-
DISTNAME= es_ANY
EXTRACT_SUFX= .oxt
@@ -21,27 +23,24 @@ LICENSE_COMB= dual
USE_ZIP= yes
NO_BUILD= yes
-ESALIASES= es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN es_MX \
- es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE
-
-PLIST_FILES= share/hunspell/es_ES.aff \
- share/hunspell/es_ES.dic
+PLIST_FILES= %%DATADIR%%/es_ES.aff \
+ %%DATADIR%%/es_ES.dic
+PLIST_DIRSTRY= %%DATADIR%%
+ESALIASES= es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN \
+ es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE
.for ALIAS in ${ESALIASES}
-PLIST_FILES+= share/hunspell/${ALIAS}.aff \
- share/hunspell/${ALIAS}.dic
+PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
+ %%DATADIR%%/${ALIAS}.dic
.endfor
-PLIST_DIRS= share/hunspell
-
do-install:
- @${MKDIR} ${PREFIX}/share/hunspell
- @${INSTALL_DATA} ${WRKDIR}/es_ANY.aff ${PREFIX}/share/hunspell/es_ES.aff
- @${INSTALL_DATA} ${WRKDIR}/es_ANY.dic ${PREFIX}/share/hunspell/es_ES.dic
- @cd ${PREFIX}/share/hunspell; \
- for alias in ${ESALIASES}; do \
- ${LN} -s es_ES.aff $${alias}.aff ; \
- ${LN} -s es_ES.dic $${alias}.dic ; \
- done
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKDIR}/es_ANY.aff ${DATADIR}/es_ES.aff
+ ${INSTALL_DATA} ${WRKDIR}/es_ANY.dic ${DATADIR}/es_ES.dic
+.for ALIAS in ${ESALIASES}
+ ${LN} -s es_ES.aff ${DATADIR}/${ALIAS}.aff
+ ${LN} -s es_ES.dic ${DATADIR}/${ALIAS}.dic
+.endfor
.include <bsd.port.mk>