freebsd-ports/graphics/klatexformula/Makefile

32 lines
872 B
Makefile
Raw Normal View History

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