1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/editors/texstudio/Makefile
Koop Mast 563f73ccfe Update poppler to 0.30.0 [1].
Make sure we use openjpeg1 in poppler, while openjpeg2 support
was added there still bugs in openjpeg2 that need to be fixed.
Add patches to inkscape for API changes in poppler 0.29.0 [2].

PR:		196599 [1]
Submitted by:	olivierd@ [1]
Exp-run by:	antoine@
Obtained from:	upstream [2]
2015-02-03 12:28:23 +00:00

33 lines
936 B
Makefile

# $FreeBSD$
PORTNAME= texstudio
PORTVERSION= 2.8.8
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/TeXstudio%20${PORTVERSION}
MAINTAINER= abiliojr@gmail.com
COMMENT= Integrated writing environment for creating LaTeX documents
LIB_DEPENDS= libpoppler.so:${PORTSDIR}/graphics/poppler \
libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4
USES= desktop-file-utils dos2unix execinfo pkgconfig qmake
DOS2UNIX_FILES= ${PORTNAME}.pro
USE_GHOSTSCRIPT_RUN= yes
USE_QT4= gui network script svg xml iconengines_run \
designer_build moc_build rcc_build uic_build
USE_TEX= latex dvipsk
INSTALLS_ICONS= yes
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
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>