freebsd-ports/graphics/klatexformula/Makefile
Max Brazhnikov 33096d0812 Add new port graphics/klatexformula:
KLatexFormula is a Qt4 program to easily get an image from a LaTeX
formula. Just enter a formula, click "Evaluate", then you can
drag&drop or copy the resulting image to another location (an
OpenOffice document, for example) or save it as an image (many
formats are available).

WWW:	http://klatexformula.sourceforge.net
2009-11-18 20:03:01 +00:00

36 lines
933 B
Makefile

# New ports collection makefile for: klatexformula
# Date created: 2009-11-18
# Whom: Max Brazhnikov <makc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= klatexformula
PORTVERSION= 3.1.0
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= Convert LaTeX formula to image
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
dvips:${PORTSDIR}/print/dvipsk-tetex \
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_QT_VER= 4
QT_COMPONENTS= gui xml dbus designer_build \
qmake_build moc_build rcc_build uic_build
HAS_CONFIGURE= yes
USE_GHOSTSCRIPT= yes
QMAKE_ARGS= QMAKE=${QMAKE} INSTALLPREFIX=${PREFIX} \
BACKEND_LIBDIR=lib
STRIP_FILES= bin/klatexformula
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS}
post-install:
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
.include <bsd.port.mk>