2014-12-06 20:45:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= texstudio
|
2014-12-10 22:03:50 +00:00
|
|
|
PORTVERSION= 2.8.8
|
2015-02-03 12:28:23 +00:00
|
|
|
PORTREVISION= 1
|
2014-12-06 20:45:55 +00:00
|
|
|
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
|
2014-12-10 22:03:50 +00:00
|
|
|
USE_QT4= gui network script svg xml iconengines_run \
|
2014-12-06 20:45:55 +00:00
|
|
|
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>
|