1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/editors/texmaker/Makefile
Rong-En Fan 79fd1806c2 - Update to 1.6
- Use DATADIR
- Make runtime dependency optional (default on)
- Pass maintainership to submitter

PR:		ports/114339
Submitted by:	Max Brazhnikov <makc at issp.ac.ru>
2007-07-27 13:27:44 +00:00

52 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: texmaker
# Date created: Dec 29, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= texmaker
PORTVERSION= 1.6
PORTEPOCH= 1
CATEGORIES= editors
MASTER_SITES= http://www.xm1math.net/texmaker/
MAINTAINER= makc@issp.ac.ru
COMMENT= LaTeX Development Environment
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_QT_VER= 4
QT_COMPONENTS= gui moc qmake rcc uic
HAS_CONFIGURE= yes
INSTALLS_ICONS= yes
OPTIONS= XDVI "view dvi with xdvi" On \
GV "view ps with gv" On \
XPDF "view pdf with xpdf" On
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_XDVI)
RUN_DEPENDS+= xdvi:${PORTSDIR}/print/xdvik
.endif
.if !defined(WITHOUT_GV)
RUN_DEPENDS+= gv:${PORTSDIR}/print/gv
.endif
.if !defined(WITHOUT_XPDF)
RUN_DEPENDS+= xpdf:${PORTSDIR}/graphics/xpdf
.endif
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} -unix PREFIX=${PREFIX} texmaker.pro
.include <bsd.port.post.mk>