summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2001-04-10 23:14:05 +0000
committermi <mi@FreeBSD.org>2001-04-10 23:14:05 +0000
commit8b8c385cc08ddb0db453f91fba7acacd7a550aef (patch)
tree53ff5e71ae635170c7de7aaf743f685b420107ef /graphics
parent61d3aaf1a724bac93285c5f7d355e947173b3860 (diff)
downloadFreeBSD-ports-8b8c385cc08ddb0db453f91fba7acacd7a550aef.zip
FreeBSD-ports-8b8c385cc08ddb0db453f91fba7acacd7a550aef.tar.gz
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 <lcms.h>, not <lcms/lcms.h>.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/lcms/Makefile22
-rw-r--r--graphics/lcms/distinfo2
-rw-r--r--graphics/lcms/pkg-descr2
-rw-r--r--graphics/lcms/pkg-plist25
4 files changed, 23 insertions, 28 deletions
diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile
index 421bde8..9693cfd 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 <bsd.port.mk>
diff --git a/graphics/lcms/distinfo b/graphics/lcms/distinfo
index c982331..2957cc2 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 e35a88b..87b019aa 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 267e453..37bb98a 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
OpenPOWER on IntegriCloud