aboutsummaryrefslogblamecommitdiff
path: root/math/libqalculate/Makefile
blob: 8d4bb7d25803cb334feae8ce44a419119e32830b (plain) (tree)
1
2
3
4
5
6
7
8
9
                            
                     
                 
                    
                                                                                           
 
                                 
                                                                  
                                            
 
                      

                                 



                                       
 
                                                                       
                                                            
                                
                   
 
                   
                                       
                             
 
                   
                   
 
                   
                                                                         
 
           
                                                                          
 
                      
PORTNAME=	libqalculate
PORTVERSION=	4.9.0
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/

MAINTAINER=	jhale@FreeBSD.org
COMMENT=	Multi-purpose desktop calculator (backend library)
WWW=		https://qalculate.github.io/

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libicuuc.so:devel/icu \
		libcurl.so:ftp/curl \
		libgmp.so:math/gmp \
		libmpfr.so:math/mpfr

USES=		compiler:c++14-lang gettext gmake gnome iconv libtool \
		localbase ncurses pathfix pkgconfig readline
USE_GNOME=	intltool libxml2
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	yes

post-patch-NLS-off:
	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in

post-patch:
	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>