1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/editors/texstudio/Makefile
Koop Mast 68f883edfc Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl

PR:		201201 (exp-run)
Approved by:	portmgr (mat@)
Exp run by:	antione@ (previous patch)
Differential Revision:	https://reviews.freebsd.org/D2938
2015-07-16 20:53:28 +00:00

33 lines
931 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 ghostscript:run \
pkgconfig qmake
DOS2UNIX_FILES= ${PORTNAME}.pro
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>