aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dvipng/Makefile
blob: f71ef1cc6de778099b86a7e5672221bb592d3622 (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
# ex:ts=8
# Ports collection makefile for:    dvipng
# Date created:         Dec 9, 2003
# Whom:             o_sleep
#
# $FreeBSD$
#

PORTNAME=   dvipng
PORTVERSION=    0.9
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= preview-latex

MAINTAINER= ports@FreeBSD.org
COMMENT=    DVI to PNG Converter

BUILD_DEPENDS=  kpsepath:${PORTSDIR}/print/teTeX
LIB_DEPENDS=    gd.4:${PORTSDIR}/graphics/gd

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

INFO=       dvipng

post-install:
    @${STRIP_CMD} ${PREFIX}/bin/dvipng

.include <bsd.port.mk>