aboutsummaryrefslogblamecommitdiffstats
path: root/hebrew/hunspell/Makefile
blob: db95e719a467ca070a19818154a8c931a6e460e5 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                             
                   
                               
                                             
                                     
                           
 
                                  
                                            

                                                     
                        
                                
                   
                           
 

                                    
           
                                                                      
           
                                                                     
                      
# New ports collection makefile for:    hunspell
# Date created:     2011-07-20
# Whom:         Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   hunspell
PORTVERSION=    1.2
CATEGORIES= hebrew textproc
MASTER_SITES=   http://hspell.ivrix.org.il/ \
        LOCAL/sunpoet/${PORTNAME}
DISTNAME=   hspell-${PORTVERSION}
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER= office@FreeBSD.org
COMMENT=    Hebrew hunspell dictionaries

BUILD_DEPENDS=  iconv:${PORTSDIR}/converters/libiconv

ALL_TARGET= hunspell
CONFIGURE_ARGS= --enable-fatverb
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_PERL5_BUILD=    yes

PLIST_FILES=    %%DATADIR%%/he.aff \
        %%DATADIR%%/he.dic
PLIST_DIRSTRY=  %%DATADIR%%

post-patch:
    @${REINPLACE_CMD} 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/pmerge

do-install:
    ${MKDIR} ${DATADIR}/
    ${INSTALL_DATA} ${WRKSRC}/he.aff ${WRKSRC}/he.dic ${DATADIR}/

.include <bsd.port.mk>