diff options
author | jakllsch <jakllsch@pkgsrc.org> | 2011-07-25 17:48:55 +0000 |
---|---|---|
committer | jakllsch <jakllsch@pkgsrc.org> | 2011-07-25 17:48:55 +0000 |
commit | d88cadfef353d9e779df2072c828a3d0a284eb10 (patch) | |
tree | b5ed064c0479456cdf600996c60d34ad7bd1a800 /graphics/lcms2 | |
parent | b3fdd291fdff34f35368df6aec0e42d39ac547e2 (diff) | |
download | pkgsrc-d88cadfef353d9e779df2072c828a3d0a284eb10.tar.gz |
Add Little CMS 2 color correction package.
Diffstat (limited to 'graphics/lcms2')
-rw-r--r-- | graphics/lcms2/DESCR | 7 | ||||
-rw-r--r-- | graphics/lcms2/Makefile | 28 | ||||
-rw-r--r-- | graphics/lcms2/PLIST | 13 | ||||
-rw-r--r-- | graphics/lcms2/buildlink3.mk | 25 | ||||
-rw-r--r-- | graphics/lcms2/distinfo | 5 |
5 files changed, 78 insertions, 0 deletions
diff --git a/graphics/lcms2/DESCR b/graphics/lcms2/DESCR new file mode 100644 index 00000000000..6f6af79f4f6 --- /dev/null +++ b/graphics/lcms2/DESCR @@ -0,0 +1,7 @@ +LittleCMS is a CMM, a color management engine; it implements fast +transforms between ICC profiles. "Little" stands for its small +overhead. With a typical footprint of about 100K including C runtime, +you can color-enable your application without the pain of ActiveX, +OCX, redistributables or binaries of any kind. We are using little cms +in several commercial projects, however, we are offering lcms library +free for anybody under an extremely liberal open source license. diff --git a/graphics/lcms2/Makefile b/graphics/lcms2/Makefile new file mode 100644 index 00000000000..139c2b30646 --- /dev/null +++ b/graphics/lcms2/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/07/25 17:48:55 jakllsch Exp $ + +DISTNAME= lcms2-2.2 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lcms/2.2/} + +MAINTAINER= gdt@NetBSD.org +HOMEPAGE= http://www.littlecms.com/ +COMMENT= Little Color Management System -- a color management library +# This is very MIT-like, but perhaps not the exact text. +#LICENSE= lcms-license + +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +TEST_TARGET= check + +# lcms does not need zlib, but will look for it and link it to tifficc +# if present. Therefore, we don't enjoin lcms from finding zlib, but +# don't include it via bl3. + +PKGCONFIG_OVERRIDE= lcms.pc.in + +.include "../../mk/jpeg.buildlink3.mk" +.include "../../graphics/tiff/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/lcms2/PLIST b/graphics/lcms2/PLIST new file mode 100644 index 00000000000..880c1485423 --- /dev/null +++ b/graphics/lcms2/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/07/25 17:48:55 jakllsch Exp $ +bin/jpgicc +bin/linkicc +bin/psicc +bin/tificc +bin/transicc +include/lcms2.h +include/lcms2_plugin.h +lib/liblcms2.la +lib/pkgconfig/lcms2.pc +man/man1/jpgicc.1 +man/man1/tificc.1 +@pkgdir share/doc/lcms diff --git a/graphics/lcms2/buildlink3.mk b/graphics/lcms2/buildlink3.mk new file mode 100644 index 00000000000..b552d039f46 --- /dev/null +++ b/graphics/lcms2/buildlink3.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/07/25 17:48:55 jakllsch Exp $ + +BUILDLINK_TREE+= lcms2 + +.if !defined(LCMS2_BUILDLINK3_MK) +LCMS2_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.lcms2+= lcms2>=2.2 +BUILDLINK_PKGSRCDIR.lcms?= ../../jakllsch/lcms2 + +BUILDLINK_TARGETS+= buildlink-include-lcms2 + +.PHONY: buildlink-include-lcms2 +buildlink-include-lcms2: +.for _h_ in lcms2.h + ${RUN} \ + if [ ! -f ${BUILDLINK_DIR}/include/lcms2/${_h_} ]; then \ + ${MKDIR} ${BUILDLINK_DIR}/include/lcms2; \ + ${ECHO_BUILDLINK_MSG} "Linking lcms2/${_h_} to ${_h_} in ${BUILDLINK_DIR}/include"; \ + ${LN} -s ${BUILDLINK_PREFIX.lcms2}/include/${_h_} ${BUILDLINK_DIR}/include/lcms2/${_h_}; \ + fi +.endfor +.endif # LCMS2_BUILDLINK3_MK + +BUILDLINK_TREE+= -lcms2 diff --git a/graphics/lcms2/distinfo b/graphics/lcms2/distinfo new file mode 100644 index 00000000000..3cea8e084a4 --- /dev/null +++ b/graphics/lcms2/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/07/25 17:48:55 jakllsch Exp $ + +SHA1 (lcms2-2.2.tar.gz) = 55ae4884a92c7fbd491c118aa3b356814b1014df +RMD160 (lcms2-2.2.tar.gz) = 8e35a351c9549e53ebe4f120cdc5cf35e8b693fc +Size (lcms2-2.2.tar.gz) = 4193353 bytes |