pkgsrc/editors/texworks/Makefile

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.43 2017/08/15 10:59:43 nros Exp $
DISTNAME= texworks-0.6.1
PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GITHUB:=TeXworks/}
GITHUB_PROJECT= texworks
GITHUB_TAG= release-${PKGVERSION_NOREV}
MAINTAINER= markd@NetBSD.org
HOMEPAGE= http://www.tug.org/texworks/
COMMENT= Simple TeX front-end program
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config gmake
USE_CMAKE= yes
CMAKE_ARGS+= -DWITH_LUA:BOOL=OFF
CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF
CMAKE_ARGS+= -DTeXworks_DIC_DIR:PATH=share/hunspell
CMAKE_ARGS+= -DTeXworks_MAN_DIR:PATH=${PKGMANDIR}/man1
DEPENDS+= poppler-data>=0.4.5:../../print/poppler-data
pre-configure:
${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
BUILDLINK_DEPMETHOD.qt4-tools= full
.include "../../devel/zlib/buildlink3.mk"
.include "../../print/poppler-qt4/buildlink3.mk"
.include "../../textproc/hunspell/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../x11/qt4-qdbus/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"