2014-12-06 21:45:55 +01:00
|
|
|
PORTNAME= texstudio
|
2023-05-09 04:57:29 +02:00
|
|
|
DISTVERSION= 4.5.2
|
2023-05-14 07:58:14 +02:00
|
|
|
PORTREVISION= 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
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= http://texstudio.sourceforge.net/
|
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 \
|
2023-01-25 06:31:05 +01:00
|
|
|
libquazip1-qt5.so:archivers/quazip@qt5
|
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 \
|
2022-12-19 15:35:46 +01:00
|
|
|
ghostscript:run gl pkgconfig qmake qt:5 tex xorg
|
2022-12-07 00:51:16 +01:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= ${PORTNAME}-org
|
|
|
|
|
|
|
|
USE_QT = concurrent core declarative gui linguisttools network \
|
|
|
|
printsupport script svg uitools widgets xml \
|
2022-09-11 12:20:14 +02:00
|
|
|
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
|
|
|
|
|
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>
|