aboutsummaryrefslogblamecommitdiff
path: root/textproc/hs-texmath/Makefile
blob: ce9c7049ab1fe047e398848d6830289d4153c67f (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                            
                       
                 
                                
 
                                   
                                                                   
 

                     
                        
 
                                 
 


                                              
 

                              
                        
                                     
                                            
                                   

                                      

      
                                                 
                      
# New ports collection makefile for: hs-texmath
# Date created:        January 10 2010
# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	texmath
PORTVERSION=	0.6.0.6
PORTREVISION=	1
CATEGORIES=	textproc haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Conversion of LaTeX math formulas to MathML or OMML

LICENSE=	GPLv2

CABAL_SETUP=	Setup.hs

USE_CABAL=	parsec>=3 syb xml

OPTIONS_DEFINE=		CGI

CGI_DESC=		Compile CGI executable

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCGI}
CONFIGURE_ARGS+=	--flags="cgi"
USE_CABAL+=		cgi json utf8-string
EXECUTABLE+=		texmath-cgi
.else
CONFIGURE_ARGS+=	--flags="-cgi"
.endif

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>