2014-12-06 21:45:55 +01:00
|
|
|
PORTNAME= texstudio
|
2022-08-28 00:45:12 +02:00
|
|
|
DISTVERSION= 4.3.1
|
2014-12-06 21:45:55 +01:00
|
|
|
CATEGORIES= editors
|
|
|
|
|
2019-01-17 21:25:26 +01:00
|
|
|
MAINTAINER= rigoletto@FreeBSD.org
|
2015-08-24 23:00:38 +02:00
|
|
|
COMMENT= Integrated writing environment for LaTeX documents
|
2014-12-06 21:45:55 +01:00
|
|
|
|
2018-06-11 19:25:11 +02:00
|
|
|
LICENSE= GPLv2
|
2014-12-06 21:45:55 +01:00
|
|
|
|
2020-03-01 18:46:27 +01:00
|
|
|
BROKEN_armv6= fails to compile: error: no member named mc_eip in __mcontext
|
2017-05-01 21:24:00 +02:00
|
|
|
|
2019-01-18 22:14:41 +01:00
|
|
|
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \
|
2018-12-16 16:10:42 +01:00
|
|
|
libpoppler.so:graphics/poppler \
|
|
|
|
libpoppler-qt5.so:graphics/poppler-qt5 \
|
2020-11-08 19:57:00 +01:00
|
|
|
libquazip1-qt5.so:archivers/quazip
|
2018-06-11 19:25:11 +02:00
|
|
|
|
2018-12-26 12:42:38 +01:00
|
|
|
USES= compiler:c++11-lang desktop-file-utils dos2unix \
|
2019-11-05 16:48:40 +01:00
|
|
|
ghostscript:run gl pkgconfig qmake qt:5 xorg
|
2021-10-03 10:22:06 +02:00
|
|
|
USE_QT = core declarative gui network script svg widgets \
|
|
|
|
xml printsupport concurrent uitools \
|
|
|
|
buildtools_build
|
2018-06-11 19:25:11 +02:00
|
|
|
QTVER_SUFFIX= 5
|
2015-08-24 23:00:38 +02:00
|
|
|
|
2016-07-27 18:48:54 +02:00
|
|
|
USE_XORG= x11
|
|
|
|
USE_GL= gl
|
2014-12-06 21:45:55 +01:00
|
|
|
USE_TEX= latex dvipsk
|
2018-06-11 19:25:11 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= ${PORTNAME}-org
|
2014-12-06 21:45:55 +01:00
|
|
|
|
2020-05-18 18:27:24 +02:00
|
|
|
DOS2UNIX_FILES= ${PORTNAME}.pro \
|
|
|
|
src/manhattanstyle.cpp \
|
|
|
|
src/pdfviewer/PDFDocument.h \
|
|
|
|
src/qcodeedit/lib/widgets/qfoldpanel.cpp
|
2016-09-10 10:15:25 +02:00
|
|
|
|
2018-06-11 19:25:11 +02:00
|
|
|
QMAKE_ARGS+= USE_SYSTEM_HUNSPELL=true USE_SYSTEM_QUAZIP=true
|
2015-08-24 23:00:38 +02:00
|
|
|
|
2014-12-06 21:45:55 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,^\(utilities.path =\).*,\1 ${DATADIR},' \
|
|
|
|
-e 's,/usr/include,${LOCALBASE}/include,g' \
|
|
|
|
-e 's,/usr/lib,${LOCALBASE}/lib,g' \
|
|
|
|
-e '/appdata.path/s,\/usr,${PREFIX},' \
|
|
|
|
${WRKSRC}/${PORTNAME}.pro
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|