pkgsrc/textproc/hunspell/Makefile.common
2008-07-19 15:06:36 +00:00

47 lines
1.7 KiB
Text

# $NetBSD: Makefile.common,v 1.1 2008/07/19 15:06:36 ahoka Exp $
# used by textproc/hunspell-af_ZA/Makefile
# used by textproc/hunspell-bg_BG/Makefile
# used by textproc/hunspell-ca_ES/Makefile
# used by textproc/hunspell-cs_CZ/Makefile
# used by textproc/hunspell-da_DK/Makefile
# used by textproc/hunspell-es_ES/Makefile
# used by textproc/hunspell-es_MX/Makefile
# used by textproc/hunspell-fo_FO/Makefile
# used by textproc/hunspell-ga_IE/Makefile
# used by textproc/hunspell-he_IL/Makefile
# used by textproc/hunspell-hr_HR/Makefile
# used by textproc/hunspell-id_ID/Makefile
# used by textproc/hunspell-lt_LT/Makefile
# used by textproc/hunspell-mg_MG/Makefile
# used by textproc/hunspell-ms_MY/Makefile
# used by textproc/hunspell-nl_NL/Makefile
# used by textproc/hunspell-ny_MW/Makefile
# used by textproc/hunspell-ru_RU/Makefile
#
# Hunspell dictionary template for fetching from OpenOffice.org
PKGNAME= hunspell-${DISTNAME}-${VERSION}
CATEGORIES= textproc
MASTER_SITES= http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
HOMEPAGE= http://wiki.services.openoffice.org/wiki/Dictionaries
EXTRACT_SUFX= .zip
USE_LANGUAGES= # none
NO_BUILD= yes
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
EXTRACT_OPTS_ZIP= -aqo # We don't want -L
DIST_SUBDIR= hunspell-dictionaries/${DISTNAME}-${VERSION}
PLIST_SRC= ../../textproc/hunspell/PLIST.common
PLIST_SUBST+= DISTNAME=${DISTNAME}
INSTALLATION_DIRS= share/hunspell share/doc/hunspell-${DISTNAME}
do-install:
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.aff ${DESTDIR}${PREFIX}/share/hunspell
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.dic ${DESTDIR}${PREFIX}/share/hunspell
${INSTALL_DATA} ${WRKSRC}/README_${DISTNAME}.txt \
${DESTDIR}${PREFIX}/share/doc/hunspell-${DISTNAME}