6d9af8d68d
Tiff is backward compatible, but was broken on amd64 platform so this makes sure new tiff is used.
21 lines
685 B
Makefile
21 lines
685 B
Makefile
# $NetBSD: Makefile,v 1.9 2004/01/03 18:49:52 reed 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_BUILDLINK2= 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/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|