blob: 4584a6a77e0488930a176fccdd30df2afadaf012 (
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
44
45
|
# $NetBSD: Makefile,v 1.62 2005/01/09 21:34:41 jlam Exp $
DISTNAME= tiff-3.7.1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \
http://libtiff.maptools.org/dl/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.remotesensing.org/libtiff/
COMMENT= Library and tools for reading and writing TIFF data files
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
USE_BUILDLINK3= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-rpath
CONFIGURE_ARGS+= --enable-c++
.include "../../mk/bsd.prefs.mk"
.if defined(USE_GIF) && !empty(USE_GIF:M[yY][eE][sS])
PKG_DEFAULT_OPTIONS+= lzw
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.tiff
PKG_SUPPORTED_OPTIONS= lzw
.include "../../mk/bsd.options.mk"
###
### LZW compression support
###
.if !empty(PKG_OPTIONS:Mlzw)
CONFIGURE_ARGS+= --enable-lzw
.else
CONFIGURE_ARGS+= --disable-lzw
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|