aboutsummaryrefslogblamecommitdiff
path: root/textproc/hyphen/Makefile
blob: 6978a3b7d434e496b071527d8f4edc42814d45f0 (plain) (tree)
1
2
3
4
5
6
7
8
9
                      
                     
                        
                                                    
                           
 
                                  
                                                                      
                                                  
 
                             
                    
                                              
                                             
 
                   
                                                
                   
                             
                             
 


                                   
                                  

                                        
                                         
 

                                                                             
 
                          
                                            


             
                          
                                                                       
       
 
                      
PORTNAME=	hyphen
PORTVERSION=	2.8.8
CATEGORIES=	textproc
MASTER_SITES=	SF/hunspell/Hyphen/${PORTVERSION:R}/
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	office@FreeBSD.org
COMMENT=	Library for high quality hyphenation and justification
WWW=		https://github.com/hunspell/hyphen

LICENSE=	LGPL21+ MPL11
LICENSE_COMB=	dual
LICENSE_FILE_LGPL21+ =	${WRKSRC}/COPYING.LGPL
LICENSE_FILE_MPL11=	${WRKSRC}/COPYING.MPL

GNU_CONFIGURE=	yes
USES=		libtool pathfix perl5 shebangfix
USE_LDCONFIG=	yes
SHEBANG_FILES=	substrings.pl
INSTALL_TARGET=	install-strip

PLIST_FILES=	bin/substrings.pl \
		include/hyphen.h \
		lib/libhyphen.a \
		lib/libhyphen.so \
		lib/libhyphen.so.0 \
		lib/libhyphen.so.0.3.0 \
		${DATADIR}/hyph_en_US.dic

USALIASES=	en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK \
		en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW

.for ALIAS in ${USALIASES}
PLIST_FILES+=	${DATADIR}/hyph_${ALIAS}.dic
.endfor

post-install:
.for ALIAS in ${USALIASES}
	${LN} -s hyph_en_US.dic ${STAGEDIR}${DATADIR}/hyph_${ALIAS}.dic
.endfor

.include <bsd.port.mk>