blob: 9c8ad31eea9220033b9f06a76c19773ea20d9869 (
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
|
# $NetBSD: Makefile,v 1.111 2013/04/06 14:58:19 rodent Exp $
DISTNAME= tiff-4.0.3
PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \
http://libtiff.maptools.org/dl/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.remotesensing.org/libtiff/
COMMENT= Library and tools for reading and writing TIFF data files
LICENSE= mit
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-rpath
CONFIGURE_ARGS+= --enable-cxx
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/tiff
CONFIGURE_ARGS+= --without-x # just in case detects gl to build tiffgt
PKGCONFIG_OVERRIDE= libtiff-4.pc.in
TEST_TARGET= check
post-install:
cd ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man3 && for file in *.3tiff; do\
target=`${ECHO} $$file | sed "s/3tiff/3/"`; \
${MV} $$file $$target; \
done
.include "options.mk"
.include "../../devel/zlib/buildlink3.mk"
# XXX for liblzma; there are more potential suppliers
.include "../../archivers/xz/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|