1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/portuguese/hunspell/Makefile
Sunpoet Po-Chuan Hsieh c8a87506eb - Update to 20140704
2014-07-16 15:30:12 +00:00

36 lines
957 B
Makefile

# $FreeBSD$
PORTNAME= hunspell
PORTVERSION= 20140704
CATEGORIES= portuguese textproc
MASTER_SITES= http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/ \
http://www.broffice.org/files/:BR \
LOCAL/sunpoet/${PORTNAME}:BR
DISTFILES= hunspell-pt_PT-${PORTVERSION}.tar.gz \
pt_BR-2012-06-09AOC.zip:BR
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Portuguese hunspell dictionaries
# We pick the common one among:
# - pt_PT is licensed under GPLv2, LGPL21 and MPL.
# - pt_BR is licensed under LGPL3 and MPL.
LICENSE= MPL
NO_BUILD= yes
WRKSRC= ${WRKDIR}/hunspell-pt_PT-${PORTVERSION}
PLIST_FILES= %%DATADIR%%/pt_BR.aff \
%%DATADIR%%/pt_BR.dic \
%%DATADIR%%/pt_PT.aff \
%%DATADIR%%/pt_PT.dic
PLIST_DIRSTRY= %%DATADIR%%
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKDIR}/pt_BR.aff ${WRKDIR}/pt_BR.dic \
${WRKSRC}/pt_PT.aff ${WRKSRC}/pt_PT.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>