aboutsummaryrefslogtreecommitdiffstats
path: root/german/hunspell
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-07-28 15:12:00 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-07-28 15:12:00 +0800
commitf215f41bcc373166d5df5b8660793bf87de0b3d6 (patch)
treeeb6b8b63543bb07b2280601049846bbd8941e54e /german/hunspell
parentb7fca5b0ec471e1740b6fb02ba2cad0368151da8 (diff)
downloadfreebsd-ports-gnome-f215f41bcc373166d5df5b8660793bf87de0b3d6.tar.gz
freebsd-ports-gnome-f215f41bcc373166d5df5b8660793bf87de0b3d6.tar.zst
freebsd-ports-gnome-f215f41bcc373166d5df5b8660793bf87de0b3d6.zip
- Add perl as build dependency [1]
- Use PLIST_DIRSTRY for PREFIX/share/hunspell - Bump PORTREVISION for PLIST change - Cosmetic change Reported by: pointyhat [1]
Diffstat (limited to 'german/hunspell')
-rw-r--r--german/hunspell/Makefile48
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>