summaryrefslogtreecommitdiff
path: root/print/php4-pdflib/Makefile
blob: 71ebec0cd88dd60869dbbb5d12e9797c9f3b34c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: Makefile,v 1.10 2004/04/24 23:41:32 xtraeme Exp $

MODNAME=		pdf
PKGNAME=		php-pdflib-${PHP_BASE_VERS}
PKGREVISION=		1
CATEGORIES+=		print
PKGREVISION=		# empty
COMMENT=		PHP4 extension for PDFlib on-the-fly PDF generation

USE_BUILDLINK3=		YES

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

CONFIGURE_ARGS+=	--with-pdflib=shared,${BUILDLINK_PREFIX.pdflib}
CONFIGURE_ARGS+=	--with-jpeg-dir=shared,${BUILDLINK_PREFIX.jpeg}
CONFIGURE_ARGS+=	--with-png-dir=shared,${BUILDLINK_PREFIX.png}
CONFIGURE_ARGS+=	--with-tiff-dir=shared,${BUILDLINK_PREFIX.tiff}
CONFIGURE_ENV+=		PHP_ZLIB_DIR=${BUILDLINK_PREFIX.zlib}

.include "../../print/pdflib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"