summaryrefslogtreecommitdiff
path: root/print/pdflib/Makefile.common
blob: d8a7372aceabe22b292e52470a6a07d7a58e1e74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $NetBSD: Makefile.common,v 1.8 2003/07/17 22:52:36 grant Exp $

DISTNAME=		pdflib-${PDFLIB_DIST_VERS}
PKGREVISION=		1
CATEGORIES=		print
MASTER_SITES=		http://www.pdflib.com/pdflib/download/

MAINTAINER=		tech-pkg@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"