diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-07-28 07:12:00 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-07-28 07:12:00 +0000 |
commit | e69040f679eb3187caceebb62cff5a3f82e821a9 (patch) | |
tree | 991eb32ee5d7949c93229905065ef4ae5a37c2a3 /german/hunspell | |
parent | 1cf27c290bf3d951a3c216105b7c6333d3128dc2 (diff) | |
download | ports-e69040f679eb3187caceebb62cff5a3f82e821a9.tar.gz ports-e69040f679eb3187caceebb62cff5a3f82e821a9.zip |
Notes
Diffstat (limited to 'german/hunspell')
-rw-r--r-- | german/hunspell/Makefile | 48 |
1 files changed, 20 insertions, 28 deletions
diff --git a/german/hunspell/Makefile b/german/hunspell/Makefile index 32493aaf9db5..8d5b80ddbead 100644 --- a/german/hunspell/Makefile +++ b/german/hunspell/Makefile @@ -7,6 +7,7 @@ PORTNAME= hunspell PORTVERSION= 20110609 +PORTREVISION= 1 CATEGORIES= german textproc MASTER_SITES= http://www.j3e.de/ispell/igerman98/dict/ DISTNAME= igerman98-${PORTVERSION} @@ -17,44 +18,35 @@ COMMENT= Hunspell german dictionary BUILD_DEPENDS= buildhash:${PORTSDIR}/textproc/ispell USE_BZIP2= yes -WRKSRC= ${WRKDIR}/igerman98-${PORTVERSION} -USE_GMAKE= yes - ALL_TARGET= hunspell-all +USE_GMAKE= yes +USE_PERL5_BUILD= yes -PLIST_FILES= share/hunspell/de_DE.aff \ - share/hunspell/de_DE.dic \ +PLIST_FILES= share/hunspell/de_AT.aff \ + share/hunspell/de_AT.dic \ share/hunspell/de_CH.aff \ share/hunspell/de_CH.dic \ - share/hunspell/de_AU.aff \ - share/hunspell/de_AU.dic -PLIST_DIRS= share/hunspell + share/hunspell/de_DE.aff \ + share/hunspell/de_DE.dic +PLIST_DIRSTRY= share/hunspell -DEALIASES= de_BE de_LU CHALIASES= de_LI - -.for ALIAS in ${DEALIASES} -PLIST_FILES+= share/hunspell/${ALIAS}.aff \ - share/hunspell/${ALIAS}.dic -.endfor -.for ALIAS in ${CHALIASES} +DEALIASES= de_BE de_LU +.for ALIAS in ${CHALIASES} ${DEALIASES} PLIST_FILES+= share/hunspell/${ALIAS}.aff \ share/hunspell/${ALIAS}.dic .endfor do-install: - @${MKDIR} ${PREFIX}/share/hunspell - @${INSTALL_DATA} ${WRKSRC}/hunspell/*.aff \ - ${WRKSRC}/hunspell/*.dic \ - ${PREFIX}/share/hunspell/ - @cd ${PREFIX}/share/hunspell; \ - for alias in ${DEALIASES}; do \ - ${LN} -s de_DE.aff $${alias}.aff ; \ - ${LN} -s de_DE.dic $${alias}.dic ; \ - done; \ - for alias in ${CHALIASES}; do \ - ${LN} -s de_CH.aff $${alias}.aff ; \ - ${LN} -s de_CH.dic $${alias}.dic ; \ - done; + ${MKDIR} ${PREFIX}/share/hunspell/ + ${INSTALL_DATA} ${WRKSRC}/hunspell/*.aff ${WRKSRC}/hunspell/*.dic ${PREFIX}/share/hunspell/ +.for ALIAS in ${CHALIASES} + ${LN} -s de_CH.aff ${PREFIX}/share/hunspell/${ALIAS}.aff + ${LN} -s de_CH.dic ${PREFIX}/share/hunspell/${ALIAS}.dic +.endfor +.for ALIAS in ${DEALIASES} + ${LN} -s de_DE.aff ${PREFIX}/share/hunspell/${ALIAS}.aff + ${LN} -s de_DE.dic ${PREFIX}/share/hunspell/${ALIAS}.dic +.endfor .include <bsd.port.mk> |