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 /french/hunspell | |
parent | a600d4522cadfa512ce465f98566cee7b9bec843 (diff) | |
download | ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.tar.gz ports-72c08ec487edbe98662f3278bee17f8726ee4ce4.zip |
Notes
Diffstat (limited to 'french/hunspell')
-rw-r--r-- | french/hunspell/Makefile | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/french/hunspell/Makefile b/french/hunspell/Makefile index bd2685374462..2ce5c0377e3f 100644 --- a/french/hunspell/Makefile +++ b/french/hunspell/Makefile @@ -7,6 +7,7 @@ PORTNAME= hunspell PORTVERSION= 4.2 +PORTREVISION= 1 CATEGORIES= french textproc MASTER_SITES= http://www.dicollecte.org/download/fr/ DISTNAME= hunspell-fr-moderne-v${PORTVERSION} @@ -17,23 +18,23 @@ COMMENT= Hunspell modern french dictionary USE_ZIP= yes NO_BUILD= yes +PLIST_FILES= %%DATADIR%%/fr_FR.aff \ + %%DATADIR%%/fr_FR.dic +PLIST_DIRSTRY= %%DATADIR%% + FRALIASES= fr_BE fr_CA fr_CH fr_LU -PLIST_FILES= share/hunspell/fr_FR.aff \ - share/hunspell/fr_FR.dic .for ALIAS in ${FRALIASES} -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}/fr-moderne.aff ${PREFIX}/share/hunspell/fr_FR.aff - @${INSTALL_DATA} ${WRKDIR}/fr-moderne.dic ${PREFIX}/share/hunspell/fr_FR.dic - @cd ${PREFIX}/share/hunspell; \ - for alias in ${FRALIASES}; do \ - ${LN} -s fr_FR.aff $${alias}.aff ; \ - ${LN} -s fr_FR.dic $${alias}.dic ; \ - done + ${MKDIR} ${DATADIR}/ + ${INSTALL_DATA} ${WRKDIR}/fr-moderne.aff ${DATADIR}/fr_FR.aff + ${INSTALL_DATA} ${WRKDIR}/fr-moderne.dic ${DATADIR}/fr_FR.dic +.for ALIAS in ${FRALIASES} + ${LN} -s fr_FR.aff ${DATADIR}/${ALIAS}.aff + ${LN} -s fr_FR.dic ${DATADIR}/${ALIAS}.dic +.endfor .include <bsd.port.mk> |