| @@ -1,51 +1,51 @@ | | | @@ -1,51 +1,51 @@ |
1 | # $NetBSD: Makefile,v 1.153 2022/05/29 12:24:16 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.154 2022/06/05 14:02:44 gdt Exp $ |
2 | | | 2 | |
3 | VERSION_BASE= 4.4.0 | | 3 | VERSION_BASE= 4.4.0 |
4 | # Accomodate testing unreleased versions. | | 4 | # Accomodate testing unreleased versions. |
5 | #VERSION_RC= rc1 | | 5 | #VERSION_RC= rc1 |
6 | DISTNAME= tiff-${VERSION_BASE}${VERSION_RC} | | 6 | DISTNAME= tiff-${VERSION_BASE}${VERSION_RC} |
7 | CATEGORIES= graphics | | 7 | CATEGORIES= graphics |
8 | MASTER_SITES= https://download.osgeo.org/libtiff/ | | 8 | MASTER_SITES= https://download.osgeo.org/libtiff/ |
9 | | | 9 | |
10 | MAINTAINER= gdt@NetBSD.org | | 10 | MAINTAINER= gdt@NetBSD.org |
11 | HOMEPAGE= http://simplesystems.org/libtiff/ | | 11 | HOMEPAGE= http://simplesystems.org/libtiff/ |
12 | COMMENT= Library and tools for reading and writing TIFF data files | | 12 | COMMENT= Library and tools for reading and writing TIFF data files |
13 | LICENSE= mit | | 13 | LICENSE= mit |
14 | | | 14 | |
15 | WRKSRC= ${WRKDIR}/tiff-${VERSION_BASE} | | 15 | WRKSRC= ${WRKDIR}/tiff-${VERSION_BASE} |
16 | | | 16 | |
17 | EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} | | 17 | EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
18 | | | 18 | |
19 | USE_LANGUAGES= c c++ | | 19 | USE_LANGUAGES= c99 c++ |
20 | USE_LIBTOOL= yes | | 20 | USE_LIBTOOL= yes |
21 | GNU_CONFIGURE= yes | | 21 | GNU_CONFIGURE= yes |
22 | CONFIGURE_ARGS+= --enable-rpath | | 22 | CONFIGURE_ARGS+= --enable-rpath |
23 | CONFIGURE_ARGS+= --enable-cxx | | 23 | CONFIGURE_ARGS+= --enable-cxx |
24 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/tiff | | 24 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/tiff |
25 | CONFIGURE_ARGS+= --without-x # just in case detects gl to build tiffgt | | 25 | CONFIGURE_ARGS+= --without-x # just in case detects gl to build tiffgt |
26 | CONFIGURE_ARGS+= --disable-webp | | 26 | CONFIGURE_ARGS+= --disable-webp |
27 | | | 27 | |
28 | PKGCONFIG_OVERRIDE= libtiff-4.pc.in | | 28 | PKGCONFIG_OVERRIDE= libtiff-4.pc.in |
29 | | | 29 | |
30 | TEST_TARGET= check | | 30 | TEST_TARGET= check |
31 | | | 31 | |
32 | post-extract: | | 32 | post-extract: |
33 | cd ${WRKSRC} && \ | | 33 | cd ${WRKSRC} && \ |
34 | ${MV} -f VERSION VERSION.txt | | 34 | ${MV} -f VERSION VERSION.txt |
35 | | | 35 | |
36 | post-install: | | 36 | post-install: |
37 | cd ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man3 && for file in *.3tiff; do\ | | 37 | cd ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man3 && for file in *.3tiff; do\ |
38 | target=`${ECHO} $$file | sed "s/3tiff/3/"`; \ | | 38 | target=`${ECHO} $$file | sed "s/3tiff/3/"`; \ |
39 | ${MV} $$file $$target; \ | | 39 | ${MV} $$file $$target; \ |
40 | done | | 40 | done |
41 | cd ${DESTDIR}/${PREFIX}/share/doc/${PKGBASE} && \ | | 41 | cd ${DESTDIR}/${PREFIX}/share/doc/${PKGBASE} && \ |
42 | ${MV} -f VERSION.txt VERSION | | 42 | ${MV} -f VERSION.txt VERSION |
43 | | | 43 | |
44 | .include "options.mk" | | 44 | .include "options.mk" |
45 | | | 45 | |
46 | .include "../../devel/zlib/buildlink3.mk" | | 46 | .include "../../devel/zlib/buildlink3.mk" |
47 | # XXX for liblzma; there are more potential suppliers | | 47 | # XXX for liblzma; there are more potential suppliers |
48 | .include "../../archivers/xz/buildlink3.mk" | | 48 | .include "../../archivers/xz/buildlink3.mk" |
49 | .include "../../graphics/jbigkit/buildlink3.mk" | | 49 | .include "../../graphics/jbigkit/buildlink3.mk" |
50 | .include "../../mk/jpeg.buildlink3.mk" | | 50 | .include "../../mk/jpeg.buildlink3.mk" |
51 | .include "../../mk/bsd.pkg.mk" | | 51 | .include "../../mk/bsd.pkg.mk" |