diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-07-29 13:13:17 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-07-29 13:13:17 +0000 |
commit | 72c08ec487edbe98662f3278bee17f8726ee4ce4 (patch) | |
tree | a3c6d7d2a4a492c3e55a418f3fa370e951b5ccc7 /textproc/es-hyphen/Makefile | |
parent | a600d4522cadfa512ce465f98566cee7b9bec843 (diff) | |
download | ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.zip |
Notes
Diffstat (limited to 'textproc/es-hyphen/Makefile')
-rw-r--r-- | textproc/es-hyphen/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/textproc/es-hyphen/Makefile b/textproc/es-hyphen/Makefile index d28205dfb01f..bf11db825c74 100644 --- a/textproc/es-hyphen/Makefile +++ b/textproc/es-hyphen/Makefile @@ -5,10 +5,12 @@ # $FreeBSD$ # -PORTNAME= es-hyphen +PORTNAME= hyphen PORTVERSION= 2005.11.18 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/ +PKGNAMEPREFIX= es- DISTNAME= hyph_es_ES MAINTAINER= office@FreeBSD.org @@ -17,21 +19,20 @@ COMMENT= Spanish hyphenation rules USE_ZIP= yes NO_BUILD= yes +PLIST_FILES= %%DATADIR%%/hyph_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 - -PLIST_FILES= share/hyphen/hyph_es_ES.dic .for ALIAS in ${ESALIASES} -PLIST_FILES+= share/hyphen/hyph_${ALIAS}.dic +PLIST_FILES+= %%DATADIR%%/hyph_${ALIAS}.dic .endfor -PLIST_DIRS= share/hyphen do-install: - @${MKDIR} ${PREFIX}/share/hyphen - @${INSTALL_DATA} ${WRKDIR}/hyph_es_ES.dic ${PREFIX}/share/hyphen - @cd ${PREFIX}/share/hyphen; \ - for alias in ${ESALIASES}; do \ - ${LN} -s hyph_es_ES.dic hyph_$${alias}.dic ; \ - done + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKDIR}/hyph_es_ES.dic ${DATADIR}/ +.for ALIAS in ${ESALIASES} + ${LN} -s hyph_es_ES.dic ${DATADIR}/hyph_${ALIAS}.dic +.endfor .include <bsd.port.mk> |