2009-11-18 21:03:01 +01:00
|
|
|
PORTNAME= klatexformula
|
2018-11-11 12:47:09 +01:00
|
|
|
PORTVERSION= 4.0.0
|
2023-10-31 13:09:48 +01:00
|
|
|
PORTREVISION= 4
|
2009-11-18 21:03:01 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2017-01-01 04:41:53 +01:00
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2009-11-18 21:03:01 +01:00
|
|
|
COMMENT= Convert LaTeX formula to image
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://klatexformula.sourceforge.io
|
2009-11-18 21:03:01 +01:00
|
|
|
|
2017-01-01 04:41:53 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= help2man:misc/help2man
|
2014-04-18 11:40:35 +02:00
|
|
|
|
2019-02-25 01:35:40 +01:00
|
|
|
USES= cmake compiler:c++11-lang desktop-file-utils ghostscript:run \
|
2022-12-19 15:35:46 +01:00
|
|
|
gl qt:5 shared-mime-info tar:bzip2 localbase tex
|
2022-09-05 21:03:13 +02:00
|
|
|
USE_GL= gl
|
2018-11-11 12:47:09 +01:00
|
|
|
USE_QT= core dbus gui sql svg widgets x11extras xml \
|
2022-09-11 12:20:14 +02:00
|
|
|
buildtools:build designer:build linguisttools:build \
|
|
|
|
qmake:build uitools:build
|
2013-05-11 19:58:55 +02:00
|
|
|
USE_TEX= latex dvipsk
|
2018-11-11 12:47:09 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
CMAKE_ARGS= -DKLF_INSTALL_POST_UPDATEMIMEDATABASE=off \
|
2014-04-18 11:40:35 +02:00
|
|
|
-DKLF_INSTALL_SHARE_MAN1_DIR=man/man1
|
2009-11-18 21:03:01 +01:00
|
|
|
|
2014-08-26 16:06:08 +02:00
|
|
|
post-patch:
|
2018-11-11 12:47:09 +01:00
|
|
|
${REINPLACE_CMD} '/CMAKE_SYSTEM_NAME STREQUAL/s,Linux,FreeBSD,' \
|
2019-03-03 02:19:32 +01:00
|
|
|
${WRKSRC}/src/klftools/CMakeLists.txt
|
2014-08-26 16:06:08 +02:00
|
|
|
|
2009-11-18 21:03:01 +01:00
|
|
|
.include <bsd.port.mk>
|