summaryrefslogtreecommitdiff
path: root/graphics/php3-gd/Makefile
blob: c05e3d66ac7b19f9e067d298eb00dff8f302dc16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.5 2003/06/25 22:52:55 jmc Exp $

MODNAME=		gd
CATEGORIES+=		graphics
PKGREVISION=		2
COMMENT=		PHP3 extension for GD graphics library

USE_BUILDLINK2=		yes

.include "../../www/php3/Makefile.module"

CONFIGURE_ARGS+=	--with-gd
MOD_LIBS+=		-lgd -lintl -ljpeg -lpng -lttf -lm -lz

PLIST_SRC+=		${.CURDIR}/PLIST.extras

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/extra/gd/bdf2gdfont ${PREFIX}/bin

.include "../../graphics/freetype-lib/buildlink2.mk"
.include "../../graphics/gd/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"