freebsd-ports/editors/texmaker/Makefile
Kirill Ponomarev 3eafc51a8e - Set QTMAKESPEC and fix the build
PR:		61018 61111
Submitted by:	Kay Lehmann <kay_lehmann@web.de>, Ulrich Spoerlein <q@uni.de>
2004-01-09 09:16:33 +00:00

37 lines
794 B
Makefile

# ex:ts=8
# Ports collection makefile for: texmaker
# Date created: Dec 29, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= texmaker
PORTVERSION= 1.0
CATEGORIES= editors
MASTER_SITES= http://perso.club-internet.fr/pascal.brachet/texmaker/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= LaTeX Development Environment
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
USE_BZIP2= yes
USE_QT_VER= 3
do-build:
@cd ${WRKSRC} && \
qmake -makefile -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
-unix "LIBS+=-lm -lqt-mt" texmaker.pro && \
${SETENV} QTDIR=${X11BASE} make
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/texmaker ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
.endif
.include <bsd.port.mk>