summaryrefslogtreecommitdiff
path: root/graphics/php4-gd/Makefile
blob: 52b82f111d1d430a3f42fea734773361a45c2d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: Makefile,v 1.12 2002/10/14 06:21:11 martti Exp $

MODNAME=		gd
CATEGORIES+=		graphics
PKGREVISION=		# empty
COMMENT=		PHP4 extension for GD graphics library

USE_BUILDLINK2=		YES
USE_X11=		YES

.include "../../www/php4/Makefile.module"

CONFIGURE_ARGS+=	--with-${MODNAME}=shared,${BUILDLINK_PREFIX.gd}
CONFIGURE_ARGS+=	--with-jpeg-dir=shared,${BUILDLINK_PREFIX.jpeg}
CONFIGURE_ARGS+=	--with-png-dir=shared,${BUILDLINK_PREFIX.png}
CONFIGURE_ARGS+=	--with-xpm-dir=shared,${BUILDLINK_PREFIX.xpm}
CONFIGURE_ARGS+=	--with-ttf=shared,${BUILDLINK_PREFIX.freetype}
CONFIGURE_ARGS+=	--enable-${MODNAME}-native-ttf
CONFIGURE_ARGS+=	--without-freetype-dir
CONFIGURE_ARGS+=	--without-t1lib

.include "../../graphics/gd/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"