1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

- Add LICENSE.

- Take maintainership.
This commit is contained in:
Hiroki Sato 2017-01-01 03:41:53 +00:00
parent 82e25d4166
commit 411a42077f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430234

View File

@ -2,17 +2,19 @@
PORTNAME= klatexformula
PORTVERSION= 3.2.11
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= hrs@FreeBSD.org
COMMENT= Convert LaTeX formula to image
LICENSE= GPLv2
BUILD_DEPENDS= help2man:misc/help2man
USES= cmake:outsource desktop-file-utils ghostscript:run \
shared-mime-info
shared-mime-info localbase
USE_QT4= gui xml dbus designer_build linguisttools_build \
qmake_build moc_build rcc_build uic_build
USE_TEX= latex dvipsk
@ -20,13 +22,10 @@ CMAKE_ARGS= -DQT_QMAKE_EXECUTABLE_FINDQT=${QMAKE} \
-DKLF_BUILD_KTEXTEDITORPLUGIN=off \
-DKLF_INSTALL_POST_UPDATEMIMEDATABASE=off \
-DKLF_INSTALL_SHARE_MAN1_DIR=man/man1
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= VERSION=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} '/link_libraries(klatexformula /s/)/ -lX11)/' \
${WRKSRC}/src/CMakeLists.txt
${REINPLACE_CMD} '/link_libraries(klatexformula /s,), ${LIBS} -lX11),' \
${WRKSRC}/src/CMakeLists.txt
.include <bsd.port.mk>