From 8b8c385cc08ddb0db453f91fba7acacd7a550aef Mon Sep 17 00:00:00 2001 From: mi Date: Tue, 10 Apr 2001 23:14:05 +0000 Subject: Upgrade to 1.07. Use the official PORTDOCS instead of the pre-PORTDOCS homegrown DOCS variable. Do not install the test-executable, but run it after build. Change the mastersite and WWW. Thanks to: KATO Tsuguru who sent me the cleaning up and WWW changing patch, which made me look and notice, the new version is also available. I will submit the fix for ImageMagick -- lcms.h is now , not . --- graphics/lcms/Makefile | 22 ++++++++++++---------- graphics/lcms/distinfo | 2 +- graphics/lcms/pkg-descr | 2 +- graphics/lcms/pkg-plist | 25 +++++++++---------------- 4 files changed, 23 insertions(+), 28 deletions(-) (limited to 'graphics') diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile index 421bde85a220..9693cfdd2d97 100644 --- a/graphics/lcms/Makefile +++ b/graphics/lcms/Makefile @@ -6,25 +6,27 @@ # PORTNAME= lcms -PORTVERSION= 1.06 +PORTVERSION= 1.07 CATEGORIES= graphics -MASTER_SITES= http://www.abaforum.es/martim/ +MASTER_SITES= http://www.littlecms.com/ MAINTAINER= mi@aldan.algebra.com -USE_LIBTOOL= yes INSTALLS_SHLIB= yes - -.ifndef NOPORTDOCS -PLIST_SUB= DOC="" -.else -PLIST_SUB= DOC="@comment " -.endif +MAKEFILE= ${FILESDIR}/Makefile.bsd +MAKE_ARGS+= -j2 +WRKSRC= ${WRKDIR}/${DISTNAME}/src .ifndef NOPORTDOCS post-install: ${MKDIR} ${PREFIX}/share/doc/lcms - ${CP} -rp ${WRKSRC}/doc/* ${PREFIX}/share/doc/lcms/ + ${CP} -rp ${WRKSRC}/../doc/* ${WRKSRC}/../samples/tifficc.c \ + ${WRKSRC}/../samples/wtpt.c ${WRKSRC}/../samples/neutral.c \ + ${PREFIX}/share/doc/lcms/ .endif +post-build test: + cd ${WRKSRC}/../testbed && \ + ${SETENV} CFLAGS="${CFLAGS} -I../src" make -E CFLAGS test + .include diff --git a/graphics/lcms/distinfo b/graphics/lcms/distinfo index c9823311203c..2957cc2fd36e 100644 --- a/graphics/lcms/distinfo +++ b/graphics/lcms/distinfo @@ -1 +1 @@ -MD5 (lcms-1.06.tar.gz) = 7e0a3642b42628b1fc40c1702a5e71e0 +MD5 (lcms-1.07.tar.gz) = bea30720a2a322b5b25e4f5b657f6994 diff --git a/graphics/lcms/pkg-descr b/graphics/lcms/pkg-descr index e35a88b65b53..87b019aa8e59 100644 --- a/graphics/lcms/pkg-descr +++ b/graphics/lcms/pkg-descr @@ -6,7 +6,7 @@ Color management refers to techniques that ensure consistent color as images are transferred from scanners or cameras to monitors and printers. -WWW: http://www.abaforum.es/martim/lcms.htm +WWW: http://www.littlecms.com/ Mikhail Teterin mi@aldan.algebra.com diff --git a/graphics/lcms/pkg-plist b/graphics/lcms/pkg-plist index 267e45350a17..37bb98aeb721 100644 --- a/graphics/lcms/pkg-plist +++ b/graphics/lcms/pkg-plist @@ -1,18 +1,11 @@ -bin/testcms -include/lcms/icc34.h -include/lcms/lcms.h +include/icc34.h +include/lcms.h lib/liblcms.a lib/liblcms.so -lib/liblcms.so.1 -%%DOC%%share/doc/lcms/README.simple -%%DOC%%share/doc/lcms/filter.c -%%DOC%%share/doc/lcms/jpgemb.c -%%DOC%%share/doc/lcms/lcmsapi.txt -%%DOC%%share/doc/lcms/neutral.c -%%DOC%%share/doc/lcms/pngchrm.c -%%DOC%%share/doc/lcms/simple.c -%%DOC%%share/doc/lcms/tiffemb.c -%%DOC%%share/doc/lcms/tutorial.txt -%%DOC%%share/doc/lcms/wtpt.c -%%DOC%%@dirrm share/doc/lcms -@dirrm include/lcms +lib/liblcms.so.1.7 +%%PORTDOCS%%share/doc/lcms/LCMSAPI.TXT +%%PORTDOCS%%share/doc/lcms/TUTORIAL.TXT +%%PORTDOCS%%share/doc/lcms/neutral.c +%%PORTDOCS%%share/doc/lcms/tifficc.c +%%PORTDOCS%%share/doc/lcms/wtpt.c +%%PORTDOCS%%@dirrm share/doc/lcms -- cgit