summaryrefslogtreecommitdiff
path: root/print/php3-pdflib/Makefile
blob: e1d1ccc166d0ca84bf43395ec6637e5cf2f7d9c3 (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.3 2002/10/09 11:55:54 wiz Exp $

MODNAME=		pdf
CATEGORIES+=		print
PKGREVISION=		2
COMMENT=		PHP3 extension for PDFlib on-the-fly PDF generation

USE_BUILDLINK2=		yes

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

PKGNAME=		php-pdflib-${BASE_VERS}

CONFIGURE_ARGS+=	--with-pdflib=${BUILDLINK_DIR}
CONFIGURE_ARGS+=	--with-jpeg-dir=${BUILDLINK_DIR}
CONFIGURE_ARGS+=	--with-tiff-dir==${BUILDLINK_DIR}
LIBS+=			-lpng -lz

MOD_LIBS+=		-lpdf -lm -ltiff -ljpeg -lpng -lz

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