pkgsrc/print/pdflib/Makefile.common
2002-09-23 21:47:50 +00:00

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile.common,v 1.6 2002/09/23 21:47:50 jlam Exp $
DISTNAME= pdflib-${PDFLIB_DIST_VERS}
PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= http://www.pdflib.com/pdflib/download/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.pdflib.com/pdflib/index.html
# Version numbering scheme:
#
# PDFLIB_DIST_VERS version number on the distfile
# PDFLIB_BASE_VERS pkgsrc-mangled version number (convert pl -> .)
#
PDFLIB_DIST_VERS= 4.0.3
PDFLIB_BASE_VERS= 4.0.3
DISTINFO_FILE= ${.CURDIR}/../pdflib/distinfo
PATCHDIR= ${.CURDIR}/../pdflib/patches
USE_BUILDLINK2= YES
USE_GMAKE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-pnglib
CONFIGURE_ARGS+= --with-tifflib
CONFIGURE_ARGS+= --with-zlib
# Disable all of the extra interfaces to PDFlib.
CONFIGURE_ARGS+= --with-java=no
CONFIGURE_ARGS+= --with-perl=no
CONFIGURE_ARGS+= --with-py=no
CONFIGURE_ARGS+= --with-tcl=no
CONFIGURE_ARGS+= --enable-php=no
CONFIGURE_ARGS+= --enable-cxx=no
CPPFLAGS+= -Dunix
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"