Skip to content

Commit

Permalink
Merge from vendor branch FIX_VENDOR:
Browse files Browse the repository at this point in the history
import lcms2, ok edd@, nothing in bulk build logs appears to pick it up yet.

LCMS is the Little Color Management System, a Color Matching Method
(CMM) library which implements fast transforms between ICC profiles.

Color management refers to techniques that ensure consistent color
as images are transferred from scanners or cameras to monitors and
printers.
  • Loading branch information
sthen committed Jun 28, 2011
2 parents d5d6112 + 06f7eab commit f22223e
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 0 deletions.
39 changes: 39 additions & 0 deletions graphics/lcms2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/06/28 23:12:29 sthen Exp $

COMMENT = color management library

DISTNAME = lcms2-2.2
SHARED_LIBS = lcms2 0.0
CATEGORIES = graphics
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=lcms/}

HOMEPAGE = http://www.littlecms.com/

LIB_DEPENDS += graphics/jpeg \
graphics/tiff

# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes

WANTLIB = c m z jpeg tiff

USE_LIBTOOL = Yes
USE_GROFF = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

DOCDIR = ${PREFIX}/share/doc/lcms2

post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/doc; \
${INSTALL_DATA} LittleCMS2.??API.pdf ${DOCDIR}/api.pdf; \
${INSTALL_DATA} LittleCMS2*Plugin?API.pdf ${DOCDIR}/plugin-api.pdf; \
${INSTALL_DATA} LittleCMS2*tutorial.pdf ${DOCDIR}/tutorial.pdf

.include <bsd.port.mk>
5 changes: 5 additions & 0 deletions graphics/lcms2/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
MD5 (lcms2-2.2.tar.gz) = qvM8fCVnXmFjGJukiK4g9Q==
RMD160 (lcms2-2.2.tar.gz) = jjWjUclUnlPr5PEgzcXPNei2k/w=
SHA1 (lcms2-2.2.tar.gz) = Va5IhKksf71JHBGKo7NWgUsQFN8=
SHA256 (lcms2-2.2.tar.gz) = tvKhvhorfKVL+rabMiQtODoXZjfxYe7q70Ub2fwRlcw=
SIZE (lcms2-2.2.tar.gz) = 4193353
6 changes: 6 additions & 0 deletions graphics/lcms2/pkg/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
LCMS is the Little Color Management System, a Color Matching Method
(CMM) library which implements fast transforms between ICC profiles.

Color management refers to techniques that ensure consistent color
as images are transferred from scanners or cameras to monitors and
printers.
2 changes: 2 additions & 0 deletions graphics/lcms2/pkg/PFRAG.shared
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/06/28 23:12:29 sthen Exp $
@lib lib/liblcms2.so.${LIBlcms2_VERSION}
19 changes: 19 additions & 0 deletions graphics/lcms2/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/06/28 23:12:29 sthen Exp $
@bin bin/jpgicc
@bin bin/linkicc
@bin bin/psicc
@bin bin/tificc
@bin bin/transicc
include/lcms2.h
include/lcms2_plugin.h
lib/liblcms2.a
lib/liblcms2.la
lib/pkgconfig/
lib/pkgconfig/lcms2.pc
@man man/man1/jpgicc.1
@man man/man1/tificc.1
%%SHARED%%
share/doc/lcms2/
share/doc/lcms2/api.pdf
share/doc/lcms2/plugin-api.pdf
share/doc/lcms2/tutorial.pdf

0 comments on commit f22223e

Please sign in to comment.