mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
e07aaa88ac
- Set WRKSRC - Fix typo - Add trailing slash of WWW
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# New ports collection makefile for: hunspell
|
|
# Date created: 2011-07-20
|
|
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hunspell
|
|
PORTVERSION= 20110609
|
|
PORTREVISION= 1
|
|
CATEGORIES= german textproc
|
|
MASTER_SITES= http://www.j3e.de/ispell/igerman98/dict/
|
|
DISTNAME= igerman98-${PORTVERSION}
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
COMMENT= German hunspell dictionaries
|
|
|
|
BUILD_DEPENDS= buildhash:${PORTSDIR}/textproc/ispell \
|
|
hunspell:${PORTSDIR}/textproc/hunspell
|
|
|
|
USE_BZIP2= yes
|
|
ALL_TARGET= hunspell-all
|
|
USE_GMAKE= yes
|
|
USE_PERL5_BUILD= yes
|
|
|
|
PLIST_FILES= %%DATADIR%%/de_AT.aff \
|
|
%%DATADIR%%/de_AT.dic \
|
|
%%DATADIR%%/de_CH.aff \
|
|
%%DATADIR%%/de_CH.dic \
|
|
%%DATADIR%%/de_DE.aff \
|
|
%%DATADIR%%/de_DE.dic
|
|
PLIST_DIRSTRY= %%DATADIR%%
|
|
|
|
CHALIASES= de_LI
|
|
DEALIASES= de_BE de_LU
|
|
.for ALIAS in ${CHALIASES} ${DEALIASES}
|
|
PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
|
|
%%DATADIR%%/${ALIAS}.dic
|
|
.endfor
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/hunspell/de_AT.aff ${WRKSRC}/hunspell/de_AT.dic \
|
|
${WRKSRC}/hunspell/de_CH.aff ${WRKSRC}/hunspell/de_CH.dic \
|
|
${WRKSRC}/hunspell/de_DE.aff ${WRKSRC}/hunspell/de_DE.dic ${DATADIR}/
|
|
.for ALIAS in ${CHALIASES}
|
|
${LN} -s de_CH.aff ${DATADIR}/${ALIAS}.aff
|
|
${LN} -s de_CH.dic ${DATADIR}/${ALIAS}.dic
|
|
.endfor
|
|
.for ALIAS in ${DEALIASES}
|
|
${LN} -s de_DE.aff ${DATADIR}/${ALIAS}.aff
|
|
${LN} -s de_DE.dic ${DATADIR}/${ALIAS}.dic
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|