pkgsrc/textproc/hunspell-sv_SE/Makefile

31 lines
905 B
Makefile

# $NetBSD: Makefile,v 1.3 2012/10/25 06:55:56 asau Exp $
DICTNAME= sv_SE
PKGNAME= hunspell-${DISTNAME:S/sv/sv_SE/}
DISTNAME= sv-1.27
CATEGORIES= textproc
MASTER_SITES= http://www.dsso.se/filer/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wiki.services.openoffice.org/wiki/Dictionaries
COMMENT= Swedish dictionary for hunspell
USE_LANGUAGES= # none
INSTALLATION_DIRS= share/hunspell share/doc/hunspell-${DICTNAME}
PLIST_SUBST+= DICTNAME=${DICTNAME}
MAKE_DIRS= share/hunspell
WRKSRC= ${WRKDIR}
do-build: # nothing
do-install:
${INSTALL_DATA} ${WRKSRC}/${DICTNAME}.aff \
${DESTDIR}${PREFIX}/share/hunspell/${DICTNAME}.aff
${INSTALL_DATA} ${WRKSRC}/${DICTNAME}.dic \
${DESTDIR}${PREFIX}/share/hunspell/${DICTNAME}.dic
${INSTALL_DATA} ${WRKSRC}/README_${DICTNAME}.txt \
${DESTDIR}${PREFIX}/share/doc/hunspell-${DICTNAME}
.include "../../mk/bsd.pkg.mk"