summaryrefslogtreecommitdiff
path: root/graphics/zimg/Makefile
blob: a6b83de2d479f864fe11d50c7e07905657599f6c (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
# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$

PORTNAME=	zimg
PORTVERSION=	5.0.0
PORTREVISION=	6
CATEGORIES=	graphics
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Image-generator that uses ASCII input files to create PNGs/EDFs

LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-dynaload-cc="${CC}" \
		--with-dynaload-cflags="${CFLAGS} -shared" \
		--with-gd-includes="${LOCALBASE}/include" \
		--with-gd-lib="${LOCALBASE}/lib"

PLIST_FILES=	include/zimg.h bin/zimg \
		man/man1/zimg.1.gz

CFLAGS+=	-DHAVE_GD_FREETYPE

.include <bsd.port.mk>