5382bbe7c6
using the newest PNG library won't work on system with an older one. To prevent such problems with precompiled binary packages require at least "png-1.0.9nb1" in all dependences.
23 lines
633 B
Makefile
23 lines
633 B
Makefile
# $NetBSD: Makefile,v 1.9 2001/03/04 09:06:17 tron Exp $
|
|
|
|
DISTNAME= pdflib-3.03
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://www.pdflib.com/pdflib/download/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.pdflib.com/pdflib/index.html
|
|
COMMENT= C library to produce PDF files
|
|
|
|
DEPENDS+= tiff-3.5.5:../../graphics/tiff
|
|
DEPENDS+= jpeg-6b:../../graphics/jpeg
|
|
DEPENDS+= png>1.0.9:../../graphics/png
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-tifflib=${PREFIX} \
|
|
--with-pnglib=${PREFIX} \
|
|
--enable-shared-pdflib
|
|
USE_LIBTOOL= yes
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|