blob: ec4b4eb034667552ab66775e80cd7dede5d0b8c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# New ports collection makefile for: klatexformula
# Date created: 2009-11-18
# Whom: Max Brazhnikov <makc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= klatexformula
PORTVERSION= 3.1.2
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= Convert LaTeX formula to image
RUN_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_QT4= gui xml dbus designer_build \
qmake_build moc_build rcc_build uic_build
USE_TEX= tetex
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>
|