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

PORTNAME=   dvipng
PORTVERSION=    0.9
PORTREVISION=   1
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
PLIST_FILES=    bin/dvipng

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

.include <bsd.port.mk>