1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/editors/texmaker/Makefile
Martin Wilke 9c2f65e395 - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by:	bapt, David Naylor (kde team)
2012-06-06 06:44:37 +00:00

62 lines
1.4 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: texmaker
# Date created: Dec 29, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= texmaker
PORTVERSION= 3.3.3
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= editors
MASTER_SITES= http://www.xm1math.net/texmaker/
MAINTAINER= makc@FreeBSD.org
COMMENT= LaTeX Development Environment
LIB_DEPENDS= poppler.18:${PORTSDIR}/graphics/poppler \
poppler-qt4.3:${PORTSDIR}/graphics/poppler-qt4
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
dvips:${PORTSDIR}/print/dvipsk-tetex \
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_BZIP2= yes
USE_GHOSTSCRIPT=yes
USE_QT4= gui network xml webkit \
moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE= yes
QMAKE_ARGS= PREFIX=${PREFIX} ICONDIR=${PREFIX}/share/pixmaps \
DESKTOPDIR=${DESKTOPDIR}
MAKE_JOBS_SAFE= yes
OPTIONS= XDVI "view dvi with xdvi" Off \
GV "view ps with gv" Off
STRIP_FILES= bin/texmaker
.include <bsd.port.options.mk>
.if !defined(WITHOUT_XDVI)
RUN_DEPENDS+= xdvi:${PORTSDIR}/print/xdvik
.endif
.if !defined(WITHOUT_GV)
RUN_DEPENDS+= gv:${PORTSDIR}/print/gv
.endif
pre-configure:
${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,g' \
-e 's,/usr/lib,${LOCALBASE}/lib,g' \
${WRKSRC}/texmaker.pro
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} texmaker.pro
post-install:
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
.include <bsd.port.mk>